I am using a custom board based on NRF52. The firmware image is espruino_1v94_nrf52832_20171127.hex
I cannot easily check on one of my Picos because the sensor is really tiny and difficult to unsolder.
Agreeing to the code, the conversion function is looking like this:
-6 + 125 * this.readMeasuredData() / 65536;
Well if this.readMeasuredData() equals 0 the result will be -6, which is what I receive in my 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.
Synchronous methods gives me the same results...
I am using a custom board based on NRF52. The firmware image is
espruino_1v94_nrf52832_20171127.hex
I cannot easily check on one of my Picos because the sensor is really tiny and difficult to unsolder.
Agreeing to the code, the conversion function is looking like this:
Well if
this.readMeasuredData()
equals0
the result will be-6
, which is what I receive in my case...