Atom47 led fix (#15272)

* Define pin states for leds

* Enable backlight in rules.mk
master
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 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

View File

@ -1,2 +1,3 @@
# Build Options
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 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

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 LED_CAPS_LOCK_PIN D1
#define LED_PIN_ON_STATE 0