summaryrefslogtreecommitdiff
path: root/4x5/4x5.c
diff options
context:
space:
mode:
authortslil clingman <>2020-08-17 11:56:07 -0400
committertslil clingman <>2020-08-17 15:19:27 -0400
commitd06e6d1332f19d381d8bf37105f18082019b99e4 (patch)
tree0d29a203af323edba89153220a50abae0a273bcd /4x5/4x5.c
Init
Diffstat (limited to '4x5/4x5.c')
-rw-r--r--4x5/4x5.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/4x5/4x5.c b/4x5/4x5.c
new file mode 100644
index 0000000..78c0fee
--- /dev/null
+++ b/4x5/4x5.c
@@ -0,0 +1,23 @@
+#include "4x5.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();
+};
+