Espruino uses all 12 bits - it just divides the value by 4096 (in this case) so the number you get is between 0 and 1.
This means that if you use another board with a different ADC (maybe a 10 bit one) the values will still be between 0 and 1 and your code will still work.
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.
Hi, No - perhaps that needs changing.
Espruino uses all 12 bits - it just divides the value by 4096 (in this case) so the number you get is between 0 and 1.
This means that if you use another board with a different ADC (maybe a 10 bit one) the values will still be between 0 and 1 and your code will still work.