Atom47 led fix (#15272)

* Define pin states for leds

* Enable backlight in rules.mk
This commit is contained in:
Evelien Dekkers 2021-12-27 04:20:23 +01:00 committed by GitHub
parent 14fb62529a
commit f7619600e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 0 deletions

View file

@ -58,6 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 4 #define BACKLIGHT_LEVELS 4
#define LED_CAPS_LOCK_PIN F5 #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 RGB_DI_PIN D0 // The pin the LED strip is connected to
#define RGBLED_NUM 1 // Number of LEDs in your strip #define RGBLED_NUM 1 // Number of LEDs in your strip

View file

@ -1,2 +1,3 @@
# Build Options # Build Options
RGBLIGHT_ENABLE = no RGBLIGHT_ENABLE = no
BACKLIGHT_ENABLE = yes

View file

@ -53,6 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_LEVELS 5
#define LED_CAPS_LOCK_PIN E6 #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 RGB_DI_PIN F5 // The pin the LED strip is connected to
#define RGBLED_NUM 6 // Number of LEDs in your strip #define RGBLED_NUM 6 // Number of LEDs in your strip

View file

@ -0,0 +1 @@
BACKLIGHT_ENABLE = yes

View file

@ -56,3 +56,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define QMK_LED D1 #define QMK_LED D1
#define LED_CAPS_LOCK_PIN D1 #define LED_CAPS_LOCK_PIN D1
#define LED_PIN_ON_STATE 0