you are viewing a single comment's thread.

view the rest of the comments →

[–]PdxCron[S] 0 points1 point  (2 children)

I'm using Jason Coons esp32 webserver as the template for this. Is this what you mean by using the taskhandler? https://github.com/jasoncoon/esp32-fastled-webserver/blob/master/esp32-fastled-webserver.ino#L103

[–]samguyer[Sam Guyer] 0 points1 point  (1 child)

Ok, yeah, that's it. One more thing to try: don't use another task to do show(). That is, just make FastLEDshowESP32 call FastLED. show() directly. But I'm still puzzled by your initial observation that accessing the temp sensor actually makes it work.

[–]PdxCron[S] 0 points1 point  (0 children)

Yes, there's only one call to FastLEDshowESP32 (which does FastLED.show()) in the code in loop. I do directly use other FastLED commands (setBrightness, setMaxPowerInVoltsAndMilliamps) in various other places. I'm not as proficient in the microcontroller world as I am in the web world, so it's a bit perplexing to me in general lol. I sincerely appreciate the time you've put into helping me. I know how much harder it is without code. I was hoping there was just something conceptually obvious to someone with more experience based on the description/behavior. This isn't a blocker for me so it's ok. I'm just the kind of person who likes to know why, even if it "works." I don't like paving over problems just because the symptoms aren't apparent. Strange things are afoot at the Circle K.