MicroPython & ESP D1 Mini

 

 

下載thonny portable後把板子接上, 

出現以下訊息

─────────────────────────

Unable to connect to COM3: Cannot configure port, something went wrong. Original message: PermissionError(13, '連結到系統的某個裝置失去作用。', None, 31)

If you have serial connection to the device from another program, then disconnect it there first.

Process ended with exit code 1.
─────────────────────────


ESP 板子是ESP-12F, 看規格是4MiB, 說明內部是ESP8266 不過搞了半天都不能連接

後來發現在thonny的"工具">"系統命令列", 打開後直接下:

 


─────────────────────────

python -m pip install --upgrade pip

python -m pip install --upgrade esptool

 ─────────────────────────

就可以了 


留言