keychron_qmk_firmware/keyboards/meira
Cole Markham b4bdebab9a Meira updates for bluetooth and audio (#2731)
* Add audio output

* Update Miera to fix bluetooth issues, bootloader definition.

* Added keymap with audio example

* Cleanup Meira audio code
2018-04-19 00:57:24 -04:00
..
featherble Meira updates for bluetooth and audio (#2731) 2018-04-19 00:57:24 -04:00
keymaps Meira updates for bluetooth and audio (#2731) 2018-04-19 00:57:24 -04:00
promicro Meira updates for bluetooth and audio (#2731) 2018-04-19 00:57:24 -04:00
config.h Meira updates for bluetooth and audio (#2731) 2018-04-19 00:57:24 -04:00
issi.c
issi.h
lighting.c Update Meira for revision 1.1 to enable backlighting by default (#2468) 2018-03-07 17:06:41 -05:00
lighting.h
matrix.c Remove _quantum functions from custom matrix.c code 2018-02-06 12:25:30 -05:00
meira.c Meira updates for bluetooth and audio (#2731) 2018-04-19 00:57:24 -04:00
meira.h Meira updates for bluetooth and audio (#2731) 2018-04-19 00:57:24 -04:00
readme.md
rules.mk Meira updates for bluetooth and audio (#2731) 2018-04-19 00:57:24 -04:00
TWIlib.c
TWIlib.h

Meira

Miera

A 4x12 ortholinear low-profile keyboard.

Keyboard Maintainer: Cole Markham
Hardware Supported: Meira/ProMicro, Meira/FeatherBLE
Hardware Availability: WoodKeys.click

Two controllers are support: the Pro Micro, and the Adafruit Feather BLE 32u4. Support for each is defined as a hardware revision subfolder in QMK. Main differences include processor frequencies and matrix pinouts.

Make example for this keyboard (after setting up your build environment):

make meira/promicro:default

or

make meira/featherble:default

See build environment setup then the make instructions for more information on generic QMK configuration and setup.

Both the Pro Micro and the Feather BLE use the Catalina bootloader, which is typically programmed using avrdude.

Matrix

In order to have enough pins for the matrix and other functions, a custom matrix is implemented using a demultiplexer to scan the columns. Since the demux is active low, the diodes must be oriented with the cathode connected to the demux pin. When looking at the bottom of the board with the controller at the top right, the cathode mark on the diode should be toward the left.

LED Controller

The in-switch LEDs are driven by an ISSI LED controller (IS31FL3731). The micro controller communicates with this chip using I2C. Individual LED control is possible, but currently only general backlighting support is implemented. This functionality is located in lighting.c, issi.c, and TWILib.c.