What if you left the pins as "undefined"
Why not have the Arduino in the next bootloader version set all inputs to have the pull-ups enabled as default?
1. @ Coding Badly, is there a typo in your original post, re: 28ma vs. 25ma? I reckon that as a 10-12% difference
, or 6-7 minutes per hour of battery life.
would it be better for minimal power consumption to set the internal pull-ups or set all unused pins to output
Quoteor 6-7 minutes per hour of battery life.How do you get that?
or 6-7 minutes per hour of battery life.
10-12% of 60 minutes
I'll race you...
In my case, by enabling the internal pullup resistors, my project went from consuming about 28ma to consuming a steady 25ma.