And here it is in its full glory,

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

@Ashley_M_Kirchner_No Thank you for posting the details. I have a few attiny85’s just waiting for programming.

Epic post. That saves me so much time and helps me learn so much. Thanks for taking the time to do it. Now I just have to get my buttons working.

is it possible to use multiple static uint8_t ? I need to use 3. One for each HSV.

Of course, as long as it’s not the same variable. You can have,

static uint8_t h;
static uint8_t s;
static uint8_t v;

And use each variable.

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.)

Determining variable scope has always challenged my skills. And don’t get me started on Pointers.

Pointers? I have two of those … they have a button on them and when I press it, a green or red light turns on. :slight_smile:

I have the red, green and a blue (more purple and hard to see). I should have gone for the 2000 mW with all the balloon popping power…:).

Thanks Ashley. This will help me learn a lot.