Finally found some time to pick this up again. Sending the sample in http://www.espruino.com/modules/ESP8266WiFi_0v25.js doesn't work. I understand that this was created for the Espruino on ESP8266. Correct?
I am using a NodeMCU and it breaks on A2 and A3 (not defined). I converted the original line from the example to:
Connecting to ESP8266
=undefined
Connecting to WiFi
Connected
>Uncaught Error: CIPSTART failed (Timeout)
at line 1 col 72
...'CIPSTART failed (Timeout)');
^
in function called from system
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.
Finally found some time to pick this up again. Sending the sample in http://www.espruino.com/modules/ESP8266WiFi_0v25.js doesn't work. I understand that this was created for the Espruino on ESP8266. Correct?
I am using a NodeMCU and it breaks on A2 and A3 (not defined). I converted the original line from the example to:
where it was:
The sample stops at
The sample code I used is:
It seems to break on the get() of http://www.espruino.com. Any ideas?
Edit: I created an Espruino IDE project for this in a folder on a local drive.