Zum Inhalt springen

Wemos LOLIN32: Unterschied zwischen den Versionen

Reox (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Reox (Diskussion | Beiträge)
adding ampy
Zeile 18: Zeile 18:
  esptool.py --port /dev/ttyUSB0 erase_flash
  esptool.py --port /dev/ttyUSB0 erase_flash
  esptool.py --port /dev/ttyUSB0 write_flash -z 0x1000 esp32-20180108-v1.9.3-238-g42c4dd09.bin  # Adjust image Name
  esptool.py --port /dev/ttyUSB0 write_flash -z 0x1000 esp32-20180108-v1.9.3-238-g42c4dd09.bin  # Adjust image Name
== Upload Files ==
You can use [https://github.com/adafruit/ampy ampy] to upload files.
WebREPL should also work, but it looks like this code is also missing in the current ESP32 branch of Micropython.
ampy is very straight forward.:
ampy --port /dev/ttyUSB0 put main.py


== I2C ==
== I2C ==