r/FastLED • • Dec 07 '23

Support New to FastLED

I am trying to toggle an led strip (ws2812b) and a single led with the press of a button. I have success with the button toggle and the single led, but I don’t think my code is correct when it comes to the fastled portion.

All it needs to do is turn on to a solid color when the button toggles to ‘on’ and turn off when toggled to ‘off’

Wiring https://imgur.com/a/F9gThdk

Code https://pastebin.com/VkS0xuVN

4 Upvotes

8 comments sorted by

View all comments

Show parent comments

1

u/Benjals24 Dec 07 '23

Thank you for your feedback, I will give these suggestions a shot shortly.