@allObjects I have been at the same point some days ago.
What I did is to connect GPIO2 to a serial port of an Espruino Board.
Espruino starts this application:
var d = "",epc = [];
Serial3.setup(115200,{rx:C11});
Serial3.on('data', function(data) {
var i = 0;
d += data;
i = d.indexOf("\n");
if(i > 0){
if(d.substr(0,i).indexOf("epc1=") >= 0){
epc.push(d.substr(0,i));
}
console.log(d.substr(0,i));
d = d.substr(i+1);
}
if(d.length >= 128) {
console.log(d);
d = "";
}
});
In my case Espruino is connected to a local copy of WebIDE and ESP8266 is connected to the original WebIDE.
Debugging need to be switched on with require("ESP8266").logDebug(true)
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.
@allObjects I have been at the same point some days ago.
What I did is to connect GPIO2 to a serial port of an Espruino Board.
Espruino starts this application:
In my case Espruino is connected to a local copy of WebIDE and ESP8266 is connected to the original WebIDE.
Debugging need to be switched on with require("ESP8266").logDebug(true)