~ruther/qmk_firmware

f7619600e3dca4270e86bd7e133ac9d63ee400f4 — Evelien Dekkers 3 years ago 14fb625
Atom47 led fix (#15272)

* Define pin states for leds

* Enable backlight in rules.mk
M keyboards/evyd13/atom47/rev2/config.h => keyboards/evyd13/atom47/rev2/config.h +1 -0
@@ 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

M keyboards/evyd13/atom47/rev2/rules.mk => keyboards/evyd13/atom47/rev2/rules.mk +1 -0
@@ 1,2 1,3 @@
# Build Options
RGBLIGHT_ENABLE = no
BACKLIGHT_ENABLE = yes

M keyboards/evyd13/atom47/rev3/config.h => keyboards/evyd13/atom47/rev3/config.h +1 -0
@@ 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

M keyboards/evyd13/atom47/rev3/rules.mk => keyboards/evyd13/atom47/rev3/rules.mk +1 -0
@@ 0,0 1,1 @@
BACKLIGHT_ENABLE = yes
\ No newline at end of file

M keyboards/evyd13/atom47/rev4/config.h => keyboards/evyd13/atom47/rev4/config.h +1 -0
@@ 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