Flash LED Function Help

How would you make a function that flashes between an Addressable LED’s color being blue and then off every .1 seconds?

I would not do this. This rapid a flashing light is really not necessary and is getting into the range that can cause problems for people, especially those with photosensitive epilepsy. Anything in the 10 to 30 flashes a second range is just not a good idea.

I can adjust the time I was just trying to figure out how to do it

Likely not the best way but here is how we do it. We set the start blinking Boolean when we want it to blink then set it false when we want it to stop based upon certain commands.

image
I thought my way of doing it was pretty simple.

1 Like

I like it. Cleaner than ours for sure!!!