Hi! I am trying to detect and display when my device is charging. I want to stop WLED execution and only blink 1 led. Right now I can stop it properly with:
while(analogRead(32)>2460)
{
DEBUG_PRINTLN(analogRead(32));
delay(1000);
}
How can I blink 1 led? I tried with strip.setPixelColor and calling strip.service and show after but nothing seems to work. I know it might not be recommended to block the execution but this is just a special case because while charging there is not enough power for the leds+ESP32.
Help?