Most recent activity
-
- 10 comments
- 4,040 views
-
A simple code like this:
function setup_sim800c() {
console.log("Hello, SIM800C!");
}E.on('init', function(){setup_sim800c();});
then click send to Espruino button, after done, enter "save()" in left IDE window:
save()
=undefined
Erasing Flash..................
Writing.....
Compressed 80000 bytes to 3036
Checking...
Done!
Hello, SIM800C!things seams OK, but reset the board, nothing printed. setup_sim800c symbol is not found either.
...
Loading 3036 bytes from flash..
not work, after save(), log is printed. but reset the board, cannot see the hello string except boot messages.
function setup_sim800c() {
console.log("Hello, SIM800C!");
}
function onInit() {setup_sim800c();}