Thanks a lot. Yes, I use the smallest PIC available, PIC10F322. I was inspired by an old @bean design. I have implemented four modes of switching that can be cycled on power-up: latching, momentary (non-latching), momentary after long press, and switched on after power-up. Other than that, there...