I have just done translation of some part of VL53L0X library to JS. But I can not check it. May be because of small memory on ESP8266 - I am not sure. Or may be there are many bugs there. Could you help me?
Here is console output after I try to load the module.
_____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|_____|___| _|_| |___|_|_|_|___|
|_| http://espruino.com
1v95.4 Copyright 2017 G.Williams
Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
http://espruino.com/Donate
Flash map 4MB:1024/1024, manuf 0x5e chip 0x4016
>Uncaught SyntaxError: Got UNFINISHED STRING expected EOF
at line 1 col 31
Modules.addCached("VL53L0Xmy","var C={SYSRANGE_START:0,SYSTE...
^
New interpreter error: LOW_MEMORY,MEMORY
Uncaught Error: Module "VL53L0Xmy" not found
at line 1 col 32
...or[0] = require("VL53L0Xmy").connect(i2c,{address:0x52,addre...
^
1
=undefined
>process.memory()
={ "free": 1496, "usage": 104, "total": 1600, "history": 608,
"gc": 5, "gctime": 1.99 }
>
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.
I have just done translation of some part of VL53L0X library to JS. But I can not check it. May be because of small memory on ESP8266 - I am not sure. Or may be there are many bugs there. Could you help me?
Here is console output after I try to load the module.