[nodemcu v1.0] Getting onInit() to run on power-up #5249
Unanswered
espruino-discuss
asked this question in
ESP8266
Replies: 1 comment
-
Posted at 2016-01-03 by jhfoo The warning on the last line is the red herring. My nodemcu uses the ESP-12 model and I should be loading the firmware with this string: Thanks SpenceKonde for your confirmation on IRC Posted at 2016-01-04 by @gfwilliams Thanks! Glad you got it sorted :) Posted at 2016-01-08 by Arman I still get the warning :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-01-03 by jhfoo
Hi all, I'm running a v1.0 of Nodemcu loaded with espruino_1v84.tve_master_d8dec28_esp8266 of the firmware.
First off: I must say that JS on the ESP8266 is SO much more stable than the stock LUA! The library support in comparison is amazing too.
Now to the problem: I've got my codes working. save() wrote my code and soft-booted. Everything is perfect. But when I do a hard reset (via esp8266.restart()) nothing starts up. I suspect this has something to do with it (screen upon startup):
Can someone advise how I should correct my firmware install?
Beta Was this translation helpful? Give feedback.
All reactions