Closed Inhumierer closed 10 years ago
This wastes some power: I recently added that one can set how often a sensor should be measured (number of wake ups of the device). When the device wakes up often and the DigitalPin sensor is configured to measure only rarely, it would waste power to switch on the pull-up resistors without needing them. Therefore I don't want to add this change.
No need to enable & disable the internal pullups everytime the "power down" mode is used. The uC does this automatically as long as PCINT on this pin is unused..