One thing: the module code does work on the Pixl.JS!
If I just copy-paste the whole module code "on the right hand side", without require-ing it, it can display all the measurements on the LCD too without any problem.
Had it running with 1 second refresh for a couple of hours, without any problems.
I suspect the issue is indeed with the require part, so yes, @Gordon will have some fun puzzle after he comes back from his holiday :)
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.
Thanks a lot @allObjects for confirming it!
One thing: the module code does work on the Pixl.JS!
If I just copy-paste the whole module code "on the right hand side", without require-ing it, it can display all the measurements on the LCD too without any problem.
Had it running with 1 second refresh for a couple of hours, without any problems.
I suspect the issue is indeed with the
require
part, so yes, @Gordon will have some fun puzzle after he comes back from his holiday :)