I wrote a little “discotheque” function for my quadcopter. Watch out for UFO alerts!

It currently has 4 patterns and I can flip through them using the channel 7 switch on my DX7 remote control.
In the Off position, all leds are permanently on. A quick Off-On (< 1 sec) changes the pattern, a longer flip (> 1 sec) continues the pattern where it left off.