#Backlight enabled build failed

1 messages · Page 1 of 1 (latest)

wraith rain
lament elk
#

Backlighting is for single colour LEDs, you cant use SK6812/WS2812s for it

wraith rain
lament elk
#

you probably ned to configure it as part of the underglow node

wraith rain
#

Oh no. Do you happen to know how to configure it or have an example? I am pretty new with firmware stuff 😦

wraith rain
#

@stuck lodge Where should I add it?

wraith rain
#

Btw, the documentation you linked is for underglow 😦

gritty cape
#

ZMK doesn't support per-key backlighting. The only lighting code that works with RGB LEDs is the underglow code, hence the suggestion to add your backlight LEDs to be part of underglow

stuck lodge
wintry gate
#

a couple of follow-up questions now. did you flash the firmware to both sides? and no lights are lighting up? do you have photos of the soldered pcbs (especially around the lowest numbered leds on each side)?

wraith rain
#

OMG it works. I added this into my keymap file and it fixed it.

&led_strip {
    chain-length = <27>; /* 21 backlight + 6 glowlight */
};

Part of the problem was my soldering, since the 2nd glowlight led was not soldered, which makes all the backlight not working. That fixed my problem.

#

By the way, is there a way to separate the configuration for the backlight and the glow light? If not, can I configure individual pin so that I have each led display the color I wanted?

wintry gate
#

awesome! unfortunately, you can't separate them in zmk yet. they will all have to be the same color.

wraith rain
#

Thank you. This is already amazing.

wraith rain
#

The back light drain the battery quite a lot. I've heard that even if I turn off the backlight, it still drain the battery. Is it true? Do I have to desolder them to not consume power?

wintry gate
#

no, you can configure it so that it cuts power to them when you hit a keybinding. unfortunately, this will also turn off your display.

wraith rain
#

What about reducing the led brightness to lowest? Does it consume less power?

#

Using the profiler, should I list all my LEDs under Underglow?

Btw, I don't understand Percentage Asleep How to know that percentage?

wintry gate
#

all leds in underglow (for a single half). turn off backlight. percentage asleep is based on how often you’re actually typing. it won’t make any difference as long as you leave it at the same value while you play with the led settings.