Quote Originally Posted by skimask View Post
So you've got a counter...that counts...and it sits there...counting...
when the power button is pushed...
If the count < x then it saves the next mode and powers down
If the count > x then it doesn't switch modes in eeprom and just powers down
But you must count while the power is out... there is no backup power. The mode is changed if you do an ON-OFF-ON cycle in less than a second.

I Just updated the schematic to clearly show the entire circuit is battery powered with no backup power, reload the image so the new one is shown.


Maybe Im missing something from your answer <scratching head>