Ok so i built a cloud for the little girl where she can select the type of setting using a IR remote. Everything looks to work fine except two things.
The rainbow and lightening functions only run once instead of looping. Thoughts? Do i need a if/ else if statement or switch case?
I cannot interrupt the rainbow or lightening functions (with a new input) without waiting for it to complete its cycle. Any thoughts on how to fix this??
Also i apologize for the crazy code. I cobbled it together using the Sparkfun cloud cloud code (remove and added a bunch) so it is a bit of a mess…
storm_coud.ino (12.4 KB)