Incorportated getADCVoltage with channelSpec for both single-ended and differential. Waiting for @LawrenceGrif's confirmation.
Wantering if such things could be somehow tested by emulation... w/ DI / IoC / in a pico container... (not Pico).
I'm thinking... what javascript testing framework are you using, if any? ... I see now more and more challenges coming up that get more and more resource binding to get fixed... code base growth, platform number growth...
With spi injection, this could be nicely tested... so we need communication emulators that can have plugins and plugin variations - (test) data driven(?) - for the different devices behavior...
For the ADS1X15 there would be a I2C_ADS1X15 'stubber'...
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.
Incorportated getADCVoltage with channelSpec for both single-ended and differential. Waiting for @LawrenceGrif's confirmation.
Wantering if such things could be somehow tested by emulation... w/ DI / IoC / in a pico container... (not Pico).
I'm thinking... what javascript testing framework are you using, if any? ... I see now more and more challenges coming up that get more and more resource binding to get fixed... code base growth, platform number growth...
With spi injection, this could be nicely tested... so we need communication emulators that can have plugins and plugin variations - (test) data driven(?) - for the different devices behavior...
For the ADS1X15 there would be a I2C_ADS1X15 'stubber'...