Difference between revisions of "Tmk keyboard firmware"

From Makers Local 256
Jump to: navigation, search
(pin usage)
m (some macro stuff)
Line 14: Line 14:
 
  Red (vcc) --> o  |  o <-- Green (gnd)
 
  Red (vcc) --> o  |  o <-- Green (gnd)
 
                 o o <-- Yellow (data)
 
                 o o <-- Yellow (data)
 +
 +
== Keymap macro ==
 +
#define KEYMAP( \
 +
/* these parameters indicate keyboard layout order */
 +
) { \
 +
/* you must place C array notation of your matrix structure here */
 +
}

Revision as of 22:54, 12 September 2015

SparkFun atmega32u4 Breakout

So, while this board uses an atmega32u4 it has a major problem. It will always boot into the bootloader and wait for the char 'e' to be sent. So instead, I just wrote the tmk firmware over the bootloader.

ps/2 cable

I stole a female ps/2 port from a qcat.

              o  |  o <-- Blue (clock)
Red (vcc) --> o  |  o <-- Green (gnd)
                o o <-- Yellow (data)

Keymap macro

#define KEYMAP( \
/* these parameters indicate keyboard layout order */
) { \
/* you must place C array notation of your matrix structure here */
}