It was working but now it doesn't. Simple programs on the right side get sent to Espruino just fine.
> >1+1 =2 >require("ESP8266WiFi_0v25"); ERROR: Could not open file : NO_FILE WARNING: Module "ESP8266WiFi_0v25" not found =undefined > >
Module URL http://www.espruino.com/modules Module Extensions .min.js|.js
var serial=Serial4; serial.removeAllListeners(); serial.setup(115200, { rx: C11, tx : C10 }); var wifi = require("ESP8266WiFi_0v25").connect(serial, function(err) { if (err) throw err; wifi.reset(function(err) { if (err) throw err; console.log("Connecting to WiFi"); wifi.connect(WiFi_Name,WPA2_Key, function(err) { if (err) throw err; console.log("Connected "); getpage(); }); }); }); function getpage(){ require("http").get("http://www.pur3.co.uk/hello.txt", function(res) { console.log("Response: ",res); res.on('data', function(d) { console.log("--->"+d); }); }); }//end get page
@ClearMemory041063 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.
It was working but now it doesn't.
Simple programs on the right side get sent to Espruino just fine.
Module URL
http://www.espruino.com/modules
Module Extensions
.min.js|.js