Uncaught Error: Function "setBootCode" not found!
Some simple code on the right side to test require()
console.log("aaa"); //require("ESP8266WiFi_0v25"); console.log("bbb");
Produces the following on the left side when send to Espruino is clicked
>reset(); =undefined _____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v80 Copyright 2015 G.Williams >echo(0); Uncaught Error: Function "setBootCode" not found! at line 1 col 3 E.setBootCode("console.log(\"aaa\");\n//require(\"ESP8266WiF... ^ =undefined >
In the Web IDE Setting:Communications See if Save on Send is checked, uncheck it On the left side enter reset(); followed by save();
>reset(); =undefined _____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v80 Copyright 2015 G.Williams >save(); =undefined Erasing Flash..... Writing... Compressed 81600 bytes to 878 Checking... Done! >
Now try the send to Espruino button.
>reset(); =undefined _____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v80 Copyright 2015 G.Williams >save(); =undefined Erasing Flash..... Writing... Compressed 81600 bytes to 878 Checking... Done! >reset(); =undefined _____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v80 Copyright 2015 G.Williams >echo(0); aaa bbb =undefined >
This was tried on an Espruino board and a Pico
@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.
Uncaught Error: Function "setBootCode" not found!
Some simple code on the right side to test require()
Produces the following on the left side when send to Espruino is clicked
In the Web IDE Setting:Communications
See if Save on Send is checked, uncheck it
On the left side enter reset(); followed by save();
Now try the send to Espruino button.
This was tried on an Espruino board and a Pico