mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Atom47 led fix (#15272)
* Define pin states for leds * Enable backlight in rules.mk
This commit is contained in:
parent
14fb62529a
commit
f7619600e3
|
@ -58,6 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_LEVELS 4
|
||||
|
||||
#define LED_CAPS_LOCK_PIN F5
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
||||
#define RGB_DI_PIN D0 // The pin the LED strip is connected to
|
||||
#define RGBLED_NUM 1 // Number of LEDs in your strip
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
# Build Options
|
||||
RGBLIGHT_ENABLE = no
|
||||
BACKLIGHT_ENABLE = yes
|
||||
|
|
|
@ -53,6 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_LEVELS 5
|
||||
|
||||
#define LED_CAPS_LOCK_PIN E6
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN F5 // The pin the LED strip is connected to
|
||||
#define RGBLED_NUM 6 // Number of LEDs in your strip
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
BACKLIGHT_ENABLE = yes
|
|
@ -56,3 +56,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define QMK_LED D1
|
||||
|
||||
#define LED_CAPS_LOCK_PIN D1
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
|
Loading…
Reference in a new issue