Don't understand how (without the connect) I talk down Serial2.
Anyway, this code errors with ...
Uncaught Error: Field or method "cmd" does not already exist, and can't create it on undefined
at line 1 col 8
wifi.at.cmd("AT+GMR\r\n",1000,console.log);
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.
I'm sorry. Lost. Too newbie, I suspect ! This ?
Serial2.setup(9600, { rx: A3, tx : A2 });
var wifi = require("ESP8266WiFi");
wifi.at.cmd("AT+GMR\r\n",1000,console.log);
Don't understand how (without the connect) I talk down Serial2.
Anyway, this code errors with ...
Uncaught Error: Field or method "cmd" does not already exist, and can't create it on undefined
at line 1 col 8
wifi.at.cmd("AT+GMR\r\n",1000,console.log);