What firmware are you using? Make sure to have the newset. I had the same behaviour, but I don't see that halve values anymore with current firmware 2v12. (probably that change I guess: https://github.com/espruino/Espruino/commit/407dd17e0903840df724ebf25f83d2bb95863fb5)
@Mi 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.
What firmware are you using? Make sure to have the newset.
I had the same behaviour, but I don't see that halve values anymore with current firmware 2v12.
(probably that change I guess: https://github.com/espruino/Espruino/commit/407dd17e0903840df724ebf25f83d2bb95863fb5)