edit: It now works, and I updated the 1v72 esp8266 firmware on the site.
You can use it like CC3000 or WIZnet, but a few things (like getIP) are still missing right now. More info at http://www.espruino.com/ESP8266
Stuff like this should work:
Serial4.setup(115200, { rx: C11, tx : C10 }); console.log("Connecting to ESP8266"); var wifi = require("ESP8266").connect(Serial4, function() { console.log("Connecting to WiFi"); wifi.connect("WiFi_Name","WPA2_Key", function() { console.log("Connected"); require("http").get("http://192.168.1.50", function(res) { console.log("Response: ",res); res.on('data', function(d) { console.log("--->"+d); }); }); }); });
@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.
edit: It now works, and I updated the 1v72 esp8266 firmware on the site.
You can use it like CC3000 or WIZnet, but a few things (like getIP) are still missing right now. More info at http://www.espruino.com/ESP8266
Stuff like this should work: