add jesse's variant of piers' keyboard

pull/18/head
Jesse Vincent 11 years ago
parent 0164d7e092
commit e85e7e512d

@ -2,7 +2,7 @@
#define EEPROM_KEYMAP_LOCATION 0 #define EEPROM_KEYMAP_LOCATION 0
#define MODEL00piers true #define MODEL00piersjesse true
#ifdef MODEL00 #ifdef MODEL00
#define COLS 14 #define COLS 14
@ -21,6 +21,34 @@ static const byte rowPins[ROWS] = { A1,A2,A3,A4,A5};
#endif #endif
#ifdef MODEL00piersjesse
#define COLS 16
#define ROWS 5
static const byte colPins[COLS] = {
5,
4,
2,
3,
1,
9,
0,
MISO,
SCK,
MOSI,
6,
7,
8,
A6,
A5,
A4,
};
static const byte rowPins[ROWS] = { A0, A1,A2,A3 };
#endif
#ifdef MODEL00piers #ifdef MODEL00piers
#define COLS 16 #define COLS 16
#define ROWS 5 #define ROWS 5
@ -32,9 +60,8 @@ static const byte colPins[COLS] = {
A5, A5,
MISO, MISO,
SCK, SCK,
MOSI,
1, 1,
MOSI,
2, 2,
4, 4,
5, 5,

@ -2,7 +2,7 @@
#BOARD_TAG = keyboardio #BOARD_TAG = keyboardio
BOARD = micro BOARD = micro
PORT = /dev/cu.usbmodem1411 PORT = /dev/cu.usbmodem1421
ARDUINO_LIBS = ARDUINO_LIBS =
#ARDUINO_CORE_PATH = hardware/keyboardio/cores/keyboardio #ARDUINO_CORE_PATH = hardware/keyboardio/cores/keyboardio
#ALTERNATE_CORE = keyboardio #ALTERNATE_CORE = keyboardio

Loading…
Cancel
Save