Loading existing modules via Web IDE works fine for me but I'm also working on some new modules and I need to test them properly.
I'm using HY-Mini 3.2" with integrated SD card reader. Card is formatted with FAT32 and for test purposes I'm placing currently available DS18B20.js module in /node_modules directory.
Then I try to:
var sensor = require("DS18B20").connect(A1);
After that nothing comes back and terminal stops responding.
Any ideas how to get that working? Should I somehow initialize SD module before I can use it?
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.
Loading existing modules via Web IDE works fine for me but I'm also working on some new modules and I need to test them properly.
I'm using HY-Mini 3.2" with integrated SD card reader. Card is formatted with FAT32 and for test purposes I'm placing currently available DS18B20.js module in /node_modules directory.
Then I try to:
After that nothing comes back and terminal stops responding.
Any ideas how to get that working? Should I somehow initialize SD module before I can use it?