Good point about actually switching after the analog read is finished - I wonder if that changes the accuracy of subsequent ADC readings though? As far as I can tell it may be that the input doesn't need to be connected at all for ADC to work - 'sense' exists more for digital and it might be ADC is connected all the time.
Waveform I guess it is all platform independent and only uses this same jshPinAnalog
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.
Good point about actually switching after the analog read is finished - I wonder if that changes the accuracy of subsequent ADC readings though? As far as I can tell it may be that the input doesn't need to be connected at all for ADC to work - 'sense' exists more for digital and it might be ADC is connected all the time.
Correct, yes.