So, with Photons I’ve gotten lazy and supply power from 3.3v to the switch and have pull-down resistors on the inputs. That’s not a good technique with the bluz due to battery life issues.
What I’m wondering is what’s the “best” way to power external switches that are brought into digital inputs. I guess if it’s being used with an interrupt, it needs power all the time. However, if I have a loop that runs, say, every 1 to 5 seconds, should I use a digital output to power the circuit or simply tie into 3.3?