And here it is in its full glory, or maybe that’s gory details. It’s long, so be prepared to read a bit. It’s rather in-depth, step by step what I did, from start to finish.
Please note that this is in no way meant for everyone to pick up and start doing. It’s simply another method of programming an ATtiny85 if you don’t have or want to get something like a Trinket. This is also considered ‘the hard way’ of doing things where the easy way is to just go buy one. But this method serves a purpose to me, and maybe to others as well. http://www.ka4designs.com/archives/372
So with fastled those integers don’t need to be in the setup? As I am about to tackle actually getting my buttons to work and switching from one loop to another I have realized I will probably be needing to use universal integers to control hsv.
I rarely, if ever, define any variable inside of setup(). I’m always doing it either before, or inside of the main loop() or inside of functions/classes where I only need them there (as opposed to global.)