• Once you've flashed Espruino, you don't need to put anything in as a file.

    Connect to the board using the Espruino Web IDE (see note below), and put your code in the right-hand side of the window. You can require() the modules by name (if they're on the official Espruino site) or you can enter a URL to point to a version hosted somewhere else, or you can set up the sandbox option to load modules from your computer instead of fetching them from the web. In any event, when you click the send to Espruino button, the IDE will grab the appropriate modules and send them to the Espruino (using Modules.addCached() ), minify your code (configurable in settings) and send that to the Espruino as well.

    If you click the left hand side and press the up arrow after uploading, you can see the commands it sent.

    (connecting with IDE) this can be done over serial - though you have to change the serial speed - or over telnet. See http://www.espruino.com/EspruinoESP8266 for info on how to set this up; I usually log in over serial after flashing using a non-Espruino terminal, set it up to use my wifi, and then connect only via telnet.

About

Avatar for DrAzzy @DrAzzy started