Having seen that in the C code for analogRead, as one of the last steps the data is divided by 65536, I thought why not shortcut it.
I'm really fine with multiplying again in my special case.
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.
Having seen that in the C code for analogRead, as one of the last steps the data is divided by 65536, I thought why not shortcut it.
I'm really fine with multiplying again in my special case.