I still have problems with the connection between my windows 8 and Espruino.
It is still the same problem, as in the video (see answer #4 in this conversation).
Upgrading to actual WebIDE from Github and actual image did not help.
Another strange behaviour entered the world:
created an object for TFT display with ILI9341, which works fine, as long as it is sent via slowmode
added a line to convert into a module. Someting like
exports.connect = function(){ return new ILI9341(); };
by calling this module with
d = require("ILI9341").connect();
nothing happens anymore. The board does not respond anymore, I have to reconnect to get it back to work, and sometimes even have to reset.
If I copy this commend to the terminal window it works fine.
Before I forget, there is a require of "fs" inside the object, does this confuse anything if inside a required module ?
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 still have problems with the connection between my windows 8 and Espruino.
It is still the same problem, as in the video (see answer #4 in this conversation).
Upgrading to actual WebIDE from Github and actual image did not help.
Another strange behaviour entered the world:
exports.connect = function(){ return new ILI9341(); };
d = require("ILI9341").connect();
nothing happens anymore. The board does not respond anymore, I have to reconnect to get it back to work, and sometimes even have to reset.
If I copy this commend to the terminal window it works fine.
Before I forget, there is a require of "fs" inside the object, does this confuse anything if inside a required module ?