summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorEvelien Dekkers <sixmoonskies@gmail.com>2021-12-27 04:20:23 +0100
committerGitHub <noreply@github.com>2021-12-27 14:20:23 +1100
commitf7619600e3dca4270e86bd7e133ac9d63ee400f4 (patch)
tree19c8b2cc66e1d55b983c1149556baee22003c084 /keyboards
parent14fb62529a4a38ab563a4bc47d0c6c172e47c1d5 (diff)
Atom47 led fix (#15272)
* Define pin states for leds * Enable backlight in rules.mk
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/evyd13/atom47/rev2/config.h1
-rw-r--r--keyboards/evyd13/atom47/rev2/rules.mk1
-rw-r--r--keyboards/evyd13/atom47/rev3/config.h1
-rw-r--r--keyboards/evyd13/atom47/rev3/rules.mk1
-rw-r--r--keyboards/evyd13/atom47/rev4/config.h1
5 files changed, 5 insertions, 0 deletions
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 <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
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 <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
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 <http://www.gnu.org/licenses/>.
#define QMK_LED D1
#define LED_CAPS_LOCK_PIN D1
+#define LED_PIN_ON_STATE 0