硬件环境:
安信可公司出品的NodeMCU-32S
电脑开发环境:
pycharm + micropython 插件
参考链接:
第二个链接里面提到的 升级docopt包 时候的错误,在使用pycharm 2020.2 版本时 没有有发生。
点击软件右上角选择 Flash main.py,点击旁边的绿色箭头进行运行,log 如下:
C:\Python38\python.exe C:\Users\lingxie\AppData\Roaming\JetBrains\PyCharmCE2020.2\plugins\intellij-micropython/scripts/microupload.py -C C:/Users/lingxie/PycharmProjects/esp32_learn -v COM24 C:/Users/lingxie/PycharmProjects/esp32_learn/main.py
Connecting to COM24Uploading files: 0% (0/1)
C:\Users\lingxie\PycharmProjects\esp32_learn\main.py -> main.py
Uploading files: 100% (1/1)
Soft reboot
网友评论