diff options
author | That-Canadian <Poole.Chris.11@gmail.com> | 2018-04-20 08:51:34 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-04-20 08:51:34 -0700 |
commit | 1de6458921963d40d812e696528d21fed744a732 (patch) | |
tree | ee1beeef2387a88ac44990ce5b45a75fb3be4c07 /keyboards/launchpad/rev1/rev1.c | |
parent | 3bb647910a09146309cef59eedd78be72697c88f (diff) | |
download | firmware-1de6458921963d40d812e696528d21fed744a732.tar.gz firmware-1de6458921963d40d812e696528d21fed744a732.tar.bz2 firmware-1de6458921963d40d812e696528d21fed744a732.zip |
Launchpad (#2767)
* Line ending stuff again
* Added base launchpad files and a default layout
* Updated KEYMAP to LAYOUT, also editing default keymap a bit and added a readme
Diffstat (limited to 'keyboards/launchpad/rev1/rev1.c')
-rw-r--r-- | keyboards/launchpad/rev1/rev1.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/launchpad/rev1/rev1.c b/keyboards/launchpad/rev1/rev1.c new file mode 100644 index 000000000..a7aec80e1 --- /dev/null +++ b/keyboards/launchpad/rev1/rev1.c @@ -0,0 +1,14 @@ +#include "launchpad.h" + +void matrix_init_kb(void) { + + // JTAG disable for PORT F. write JTD bit twice within four cycles. + MCUCR |= (1<<JTD); + MCUCR |= (1<<JTD); + + // Undo init of RX LED, we use that port currently + //DDRB &= ~(1<<0); + + matrix_init_user(); + +};
\ No newline at end of file |