Hey gang, I'm struggling over a circuit. It kinda works (on Arduino, not at all ESP) and perhaps it's not a good idea:
I want multiple power switches for the microcontroller, and for it to know exactly which power switch was used.
The idea being that the device is generally off until a switch is flipped, which powers it, and it knows which one was flipped in order to perform a task.
(I know I could use double pole switches, but really don't want to - they'll be momentary in fact)