diff --git a/keyboards/do60/config.h b/keyboards/do60/config.h
index 88948b6a6..4a7dcddfd 100644
--- a/keyboards/do60/config.h
+++ b/keyboards/do60/config.h
@@ -43,11 +43,11 @@ along with this program. If not, see .
*
*/
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
-#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3, B0 }
+#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, F4, B4, D7, D6, B3, B0 }
#define UNUSED_PINS
/* Backlight Setup */
-#define BACKLIGHT_PIN F4
+#define BACKLIGHT_PIN B5
#define BACKLIGHT_LEVELS 6
//#define BACKLIGHT_BREATHING
diff --git a/keyboards/do60/do60.c b/keyboards/do60/do60.c
index 502d02a40..c1e509c5d 100644
--- a/keyboards/do60/do60.c
+++ b/keyboards/do60/do60.c
@@ -1,19 +1,50 @@
#include "do60.h"
+#include "led.h"
+
+//extern inline void do60_caps_led_on(void);
+//extern inline void do60_bl_led_on(void);
+
+//extern inline void do60_caps_led_off(void);
+//extern inline void do60_bl_led_off(void);
+
+extern inline void setdefaultrgb(void);
-extern inline void do60_caps_led_on(void);
-extern inline void do60_bl_led_on(void);
+void matrix_init_kb(void) {
+ // Keyboard start-up code goes here
+ // Runs once when the firmware starts up
+ matrix_init_user();
+ led_init_ports();
+ setdefaultrgb();
+};
-extern inline void do60_caps_led_off(void);
-extern inline void do60_bl_led_off(void);
+void matrix_scan_kb(void) {
+ // Looping keyboard code goes here
+ // This runs every cycle (a lot)
+ matrix_scan_user();
+};
+void led_init_ports(void) {
+ // Set caps lock LED pin as output
+ DDRB |= (1 << 2);
+ // Default to off
+ PORTB |= (1 << 2);
+}
void led_set_kb(uint8_t usb_led) {
- if (usb_led & (1<