To add to this: Just typing require("FlashEEPROM") on the left hand side will never work.
You need to use it on the right-hand side and click upload - then the Web IDE gets a chance to scan your code, see what modules are needed, and load them up automatically.
It's worth reading I've pasted code into the left-hand side of the Web IDE and it doesn't work on the Troubleshooting page at: http://www.espruino.com/Troubleshooting
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.
To add to this: Just typing
require("FlashEEPROM")
on the left hand side will never work.You need to use it on the right-hand side and click upload - then the Web IDE gets a chance to scan your code, see what modules are needed, and load them up automatically.
It's worth reading
I've pasted code into the left-hand side of the Web IDE and it doesn't work
on the Troubleshooting page at: http://www.espruino.com/Troubleshooting