mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-11 02:59:09 +00:00
get doro67 led working
This commit is contained in:
parent
9a64c6b82e
commit
33f1259f89
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
||||||
void matrix_init_kb(void) {
|
void matrix_init_kb(void) {
|
||||||
// put your keyboard start-up code here
|
// put your keyboard start-up code here
|
||||||
// runs once when the firmware starts up
|
// runs once when the firmware starts up
|
||||||
|
setPinOutput(E6);
|
||||||
matrix_init_user();
|
matrix_init_user();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,9 +39,9 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||||
void led_set_kb(uint8_t usb_led) {
|
void led_set_kb(uint8_t usb_led) {
|
||||||
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
||||||
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
||||||
writePinHigh(E6);
|
|
||||||
} else {
|
|
||||||
writePinLow(E6);
|
writePinLow(E6);
|
||||||
|
} else {
|
||||||
|
writePinHigh(E6);
|
||||||
}
|
}
|
||||||
led_set_user(usb_led);
|
led_set_user(usb_led);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue