Great - thanks! I'll swap that around in Git head then - how's power usage?
edit: nice side-effect of that is that by setting the pin state to 'analog' you can get the low power mode as well.
Hi! Am I right that now one should not switch pin mode after analogRead(), and no initial pin mode setting is needed, to save power?
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Great - thanks! I'll swap that around in Git head then - how's power usage?
edit: nice side-effect of that is that by setting the pin state to 'analog' you can get the low power mode as well.