From f7619600e3dca4270e86bd7e133ac9d63ee400f4 Mon Sep 17 00:00:00 2001 From: Evelien Dekkers Date: Mon, 27 Dec 2021 04:20:23 +0100 Subject: Atom47 led fix (#15272) * Define pin states for leds * Enable backlight in rules.mk --- keyboards/evyd13/atom47/rev2/config.h | 1 + keyboards/evyd13/atom47/rev2/rules.mk | 1 + keyboards/evyd13/atom47/rev3/config.h | 1 + keyboards/evyd13/atom47/rev3/rules.mk | 1 + keyboards/evyd13/atom47/rev4/config.h | 1 + 5 files changed, 5 insertions(+) (limited to 'keyboards/evyd13/atom47') diff --git a/keyboards/evyd13/atom47/rev2/config.h b/keyboards/evyd13/atom47/rev2/config.h index 95fc7a4789..42661c3311 100644 --- a/keyboards/evyd13/atom47/rev2/config.h +++ b/keyboards/evyd13/atom47/rev2/config.h @@ -58,6 +58,7 @@ along with this program. If not, see . #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 diff --git a/keyboards/evyd13/atom47/rev2/rules.mk b/keyboards/evyd13/atom47/rev2/rules.mk index 632bdae8f3..104711e420 100644 --- a/keyboards/evyd13/atom47/rev2/rules.mk +++ b/keyboards/evyd13/atom47/rev2/rules.mk @@ -1,2 +1,3 @@ # Build Options RGBLIGHT_ENABLE = no +BACKLIGHT_ENABLE = yes diff --git a/keyboards/evyd13/atom47/rev3/config.h b/keyboards/evyd13/atom47/rev3/config.h index 4e53abd01e..90cb4a1952 100644 --- a/keyboards/evyd13/atom47/rev3/config.h +++ b/keyboards/evyd13/atom47/rev3/config.h @@ -53,6 +53,7 @@ along with this program. If not, see . #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 diff --git a/keyboards/evyd13/atom47/rev3/rules.mk b/keyboards/evyd13/atom47/rev3/rules.mk index e69de29bb2..54a2685bf6 100644 --- a/keyboards/evyd13/atom47/rev3/rules.mk +++ b/keyboards/evyd13/atom47/rev3/rules.mk @@ -0,0 +1 @@ +BACKLIGHT_ENABLE = yes \ No newline at end of file diff --git a/keyboards/evyd13/atom47/rev4/config.h b/keyboards/evyd13/atom47/rev4/config.h index 02a1b16755..a88c538716 100644 --- a/keyboards/evyd13/atom47/rev4/config.h +++ b/keyboards/evyd13/atom47/rev4/config.h @@ -56,3 +56,4 @@ along with this program. If not, see . #define QMK_LED D1 #define LED_CAPS_LOCK_PIN D1 +#define LED_PIN_ON_STATE 0 -- cgit v1.2.3