Python

Aus
Wechseln zu: Navigation, Suche

Python

MicroPython

MicroPython.org

http://www.micropython.org
http://www.micropython.org/download

MicroPython Doku

http://docs.micropython.org/en/latest/index.html

esptool

pip install esptool
https://github.com/espressif/esptool
esptool --help
python -m esptool --chip auto --port COM7 erase_flash
python -m esptool --chip auto --port COM7 write_flash -z 0x1000 esp8266-20191220-v1.12.bin
esptool --port COM7 write_flash --flash_size=detect -fm dio 0 esp8266-20191220-v1.12.bin
import esp
esp.check_fw()

ampy

https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy
pip install adafruit-ampy
python -m pip install adafruit-ampy --upgrade
ampy -p com7 -d 2 ls
ampy -p COM7 -d 2 get boot.py >> boot.py
ampy -p COM7 -d 2 put main.py
python -m ampy
ampy --help

rshell

pip install rshell
rshell --help

mpfshell

pip install mpfshell
mpfshell --help

upyCraft

https://github.com/DFRobot/uPyCraft
http://docs.dfrobot.com/upycraft/