Thanks for the answers, I think something is wrong with the Pixl.JS!
If I "send" this single line of code var bmeMod = require("BME680"); from the IDE, it does work on the Espruino Wifi, but does the aforementioned weirdness on the Pixl.JS
The Pixl.JS prints New interpreter error: LOW_MEMORY,MEMORY, and memory usage is different:
Calling process.memory() on the Pixl.js prints 2378 free, 122 usage.
Calling process.memory() on the Espruino wifi prints 6203 free, 945 usage.
Both running 2v00.
On the same machine, tried a couple of times, and the Pixl.JS works fine otherwise: the BME 860 works, if I directly upload the whole module code...
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 for the answers, I think something is wrong with the Pixl.JS!
If I "send" this single line of code
var bmeMod = require("BME680");
from the IDE, it does work on the Espruino Wifi, but does the aforementioned weirdness on the Pixl.JSThe Pixl.JS prints
New interpreter error: LOW_MEMORY,MEMORY
, and memory usage is different:Calling
process.memory()
on the Pixl.js prints 2378 free, 122 usage.Calling
process.memory()
on the Espruino wifi prints 6203 free, 945 usage.Both running 2v00.
On the same machine, tried a couple of times, and the Pixl.JS works fine otherwise: the BME 860 works, if I directly upload the whole module code...