summaryrefslogtreecommitdiffstats
path: root/keyboards/nyquist/rev3/rev3.c
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2018-11-05 20:00:38 +0100
committerDrashna Jaelre <drashna@live.com>2018-11-05 20:00:38 +0100
commita49d0a1e83d686a6c7a0673ffbd691f80908ea6f (patch)
tree13b4d12f92adb6b6e8fba05c831b712683eac010 /keyboards/nyquist/rev3/rev3.c
parenta95fc388fd85ffddcaf07e56ce5a147458fad47c (diff)
downloadqmk_firmware-a49d0a1e83d686a6c7a0673ffbd691f80908ea6f.tar.gz
qmk_firmware-a49d0a1e83d686a6c7a0673ffbd691f80908ea6f.tar.xz
Keyboard: Add Nyquist Rev 3 (#4287)
* Add Nyquist Rev 3 * Switch to split_common
Diffstat (limited to 'keyboards/nyquist/rev3/rev3.c')
-rw-r--r--keyboards/nyquist/rev3/rev3.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/nyquist/rev3/rev3.c b/keyboards/nyquist/rev3/rev3.c
new file mode 100644
index 000000000..34500fb10
--- /dev/null
+++ b/keyboards/nyquist/rev3/rev3.c
@@ -0,0 +1,21 @@
+#include "rev3.h"
+
+#ifdef SSD1306OLED
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+ led_set_user(usb_led);
+}
+#endif
+
+void matrix_init_kb(void) {
+
+ // // green led on
+ // DDRD |= (1<<5);
+ // PORTD &= ~(1<<5);
+
+ // // orange led on
+ // DDRB |= (1<<0);
+ // PORTB &= ~(1<<0);
+
+ matrix_init_user();
+};