Attiny25/45/85 FW Development Thread

I have ATtiny84 firmware I’m using in the drivers I built for these two lights: Mod: BMF SRK v2 Roche Edition (Rebuilt into triple XHP 35 HI) and Mod/Driver: ZY-T08 series conversion, MT-G2..
I’ve done a bit of coding on it since then and have implemented quite a lot of functionality that I really like. Almost everything is user configurable, like the temperature threshold for shutdown, output levels, voltage thresholds, turbo timer, etc. It also has constant current steps of 0.35/0.38 amps, using PWM only between those steps, and this is what uses up the pins. Now I want to use it in my 85 based drivers, but because the 85 has less pins I’ve attempted to move the functionality of three pins over to one pin. It’s working, so I can proceed…