the arduino will poll the inputs to determine which switch was pressed,
The reason for this method is a desire to save power for something that will be used infrequently.
But I guess it wouldn't matter because the switch that's active will be the only one that is low, and the rest of the inputs should be high, correct?
Hi AshThe code will read the present state of the input at the time you read - it doesn't rely on watching for a change (unless you want it to) so if a switch is already set on power up it will be fine. The time from power on to getting to the first pin state read will be measured in milliseconds. If this is a push-button switch I'm expecting that will be fine as they don't change that quickly.You're right to point out the linear regulator but that can be bypassed by feeding 5V from a switch mode supply, battery etc into the 5V pin directly.Geoff
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16