Thanks.
Here are mine:
{ "Reset" : "reset();", "Memory" : "process.memory();", "ClearInterval" : "clearInterval();", "ClearCmdHistory" : "global['\\xFF'].history=[]", "Esp8266.printLog" : "require('ESP8266').printLog()", "Esp8266.reboot" : "require(\"ESP8266\").reboot()", "Esp8266.SocketInfo" : "require('ESP8266').dumpSocketInfo();require('ESP8266').printLog();", "Esp8266.IdeDebug" : "require('ESP8266').setLog(2);", "Esp8266.JoinWifi" : "function join(ssid,password){wifi.connect(ssid,{password:password},function(err,ipInfo){ipInfo=wifi.getIP();print(\"Wifi IP: \"+JSON.stringify(ipInfo));wifi.save();});}" }
For the wifi one, run the snippet to define the function, then join your network.
join('your-ssid','your-password');
The clear command history is used when you are running low on space, and want to free up some memory.
@Wilberforce 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.
Thanks.
Here are mine:
For the wifi one, run the snippet to define the function, then join your network.
The clear command history is used when you are running low on space, and want to free up some memory.