Keyboard firmwares for Atmel AVR and Cortex-M
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
di0ib ac70ea56ae Update 3 år sedan
pcb Update 3 år sedan
FLASH.bin mf68 3 år sedan
GNAP.jpg GNAP keyboard 3 år sedan
LED_FastGPIO.ino GNAP keyboard 3 år sedan
Makefile GNAP keyboard 3 år sedan
config.h GNAP keyboard 3 år sedan
gnap.bin mf68 3 år sedan
keymap_common.h i75, cleanup keymaps 3 år sedan
keymap_gnap.c update keymap 3 år sedan
led.c mf68 3 år sedan
matrix.c i75, cleanup keymaps 3 år sedan
pcb-front.png GNAP keyboard 3 år sedan Update readme 3 år sedan
schematic.png GNAP keyboard 3 år sedan

GNAP! keyboard firmware

GNAP! 1.0 Assembled

GNAP! dual matrix, dual controller. Per key LED control, reactive lighting. GNAP! 1.0 PCB Front GNAP! 1.0 PCB Schematic

Dual Pro Micro’s. One running TMK, the other running an Arduino sketch driving the LEDs. Pro Micro’s are connected to each other via hardware serial UART.


Rows D1, D0, D4, C6 
Cols D7, E6, B4, B5, B6, B2, B3, B1, F7, F6, F5, F4

keymap_gnap.c contains functions to send bytes to the LED controller. The Arduino code interprets these to change modes or brightness.

//GNAP keymap functions
void gnaplight_step(void) {

void gnaplight_toggle(void) {

\tmk_core\common\keyboard.c was modified to send the row/column of the key being pressed encoded as as single byte over the serial link to the LED controller.

                //send single byte with value of row column

The example Arduino sketch LED_FastGPIO.ino uses the fastGPIO and TimerOne libraries. These can be installed with the Library manager.

FastGPIO TimerOne