Could you post up the contents of myarr.buffer, the contents of view and the actual results you're getting?
myarr.buffer
view
As far as I can see, if you get an analog reading less than 0.4 (so 0.4*3.3 = 1.32v) it's going to give you a negative temperature in degrees C.
@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.
Could you post up the contents of
myarr.buffer
, the contents ofview
and the actual results you're getting?As far as I can see, if you get an analog reading less than 0.4 (so 0.4*3.3 = 1.32v) it's going to give you a negative temperature in degrees C.