E class doesn't defined #7709
Answered
by
gfwilliams
lilBednyaga
asked this question in
JavaScript
Answered by
gfwilliams
Mar 21, 2025
Replies: 1 comment 5 replies
|
What board are you trying to run this on? Given this is using pin D35 and there was a question also about this yesterday (https://github.com/orgs/espruino/discussions/7708) are these two related? Are you the same person as @Quishish or is this some kind of university assignment that a bunch of people have been set? You don't use Where did you get this code out of interest. It looks a bit odd - you didn't get an AI to write it did you? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Ok, sorry for confusing you then - it just seemed surprising that two people would have issues using pin D25 on ESP32 in the same 24 hours!
E.on('init',is called after initialising, but if you're uploading to RAM (rather than flash) then it doesn't get called. https://www.espruino.com/Saving might help.