Play micropython on ESP01 or WEMOS D1 Mini V2
ESP01 USB programmer
WEMOS D1 mini V2
Quick Guide ( MAC / Linux)
Install ESP TOOL to ease flashing ESP (yes, that's python too :-) :
First, make sure command line tools are installed on MAC OSX
Download ESPTOOL from ESP conceptor (yes, it's Python too :-)
Download ESP8266 micropython
Plug your ESP with adapter in prog mode and lookup for COM serial device used :
Now, upload firmware to ESP via serial port (put your ESP in upload mode -->
That's done, you can connect now via any serial terminal !
Screen / microPython shortcuts:
Run python script from command line :
And use "ls", "put", etc... to manipulate files on ESP
get Retrieve a file from the board. ls List contents of a directory on the board. put Put a file on the board. rm Remove a file from the board. run Run a script and print its output.
Now, directly run your script (even does not need to copy it)
Run / upload your script OTA with your web browser !
git clone https://github.com/micropython/webrepl.git