Good news - the following now works:
Serial4.setup(115200, { rx: C11, tx : C10 }); var wifi = require("ESP8266").connect(Serial4, function() { wifi.connect("BTHub4-5ZN2","2f3b5659ad", function() { console.log("Waiting 10 secs for connect..."); setTimeout(function() { require("http").get("http://192.168.1.50", function(res) { }); }, 10000); }); });
Although received data is not passed back - but it at least shows it can work.
Also it doesn't fit in flash any more - we may need an specific compile for this like we do for WIZnet :(
@Gordon started
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.
Good news - the following now works:
Although received data is not passed back - but it at least shows it can work.
Also it doesn't fit in flash any more - we may need an specific compile for this like we do for WIZnet :(