mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-19 22:22:03 +00:00
Starting leds
This commit is contained in:
parent
1651921973
commit
989cdfbe8d
@ -49,8 +49,8 @@
|
||||
#define GPIOD_OSC_OUT 1
|
||||
|
||||
/* Backlighting */
|
||||
/*
|
||||
#define GPIOB_BACKLIGHT_PIN 1*/
|
||||
|
||||
#define GPIOC_BACKLIGHT_PIN 12
|
||||
|
||||
/* In case your board has a "USB enable" hardware
|
||||
controlled by a pin, define it here. (It could be just
|
||||
|
@ -61,4 +61,4 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,8 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
CUSTOM_MATRIX = yes # Custom matrix file
|
||||
#Added backlight
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
MOUSEKEY_ENABLE = no
|
||||
|
||||
DEFAULT_FOLDER = handwired/stm32/stm70
|
@ -55,4 +55,9 @@ void led_set(uint8_t usb_led)
|
||||
break;
|
||||
}
|
||||
return state;
|
||||
}*/
|
||||
}*/
|
||||
|
||||
|
||||
// inline void gh60_caps_led_off(void) { DDRB &= ~(1<<2); PORTB &= ~(1<<2); }
|
||||
|
||||
// inline void gh60_caps_led_on(void) { DDRB |= (1<<2); PORTB &= ~(1<<2); }
|
Loading…
Reference in New Issue
Block a user