You are reading a single comment by @DamianMontero and its replies. Click here to read the full conversation.
  • I have used this script for the D1 Mini and NodeMcu Lua ESP8266 ESP-12F (50 times for the 2019 Node Days) and I just wanted to share it with everyone for easy readying: --port  /dev/cu.wchusbserial1460 --baud 460800 write_flash --flash_freq 80m --flash_mode dio --flash_size 4MB 0x0000 espruino_2v04_esp8266_4mb_combined_4096.­bin 

    1) You'll have to download the single "4096" file.
    Here's the latest:­no_2v04_esp8266_4mb_combined_4096.bin

    2) and of course you'd change the serial port which I have as /dev/cu.wchusbserial1460
    (to find out what is yours. if you're on mac look for /dev/cu.* , linux it's /dev/ttyUSB* and on windows it's usually COM3, COM4 or COM10 look in your "device manager" under "ports")

    3) Remember there is a building in NodeMCU object which will map to the pins in the board so you'd setup access to the D4 pin (which is the built in LED) as:
    let LED1 = NodeMCU.D4;