ESP32运行microPython程序出错,请大神帮忙,谢谢-Arduino中文社区 - Powered by Discuz! Archiver

jwx0052 发表于 2021-1-1 18:59

ESP32运行microPython程序出错,请大神帮忙,谢谢

本人用ESP32刷了microPython,用官方的指导文件 https://www.diandeng.tech/doc/mpy-support
将文件全部准备到位后,运行了官方的例程 ,将例子 TEXT_WiFi.py中文程序全部复制到main.py中,然后修改好设备的ID,WiFi的账号密码;
运行后出现以下报警,
MODE: BLINKER_WIFI
auth: aea389dfb9cf
Device Auth Data: {'detail': {'uuid': 'a0071a6f45d911ebb5db5254', 'productKey': 'blinker', 'iotId': 'E24aKw6C6vBg3KETdHUae85aMY', 'deviceName': '580AAABEUTH5VG9UYXE8G4VG', 'iotToken': 'M23k6PJcjgehGaFnVN2T8Q9La66gShDD', 'host': 'mqtts://broker.diandeng.tech', 'broker': 'blinker', 'port': '1884'}, 'message': 1000}
deviceName: 580AAABEUTH5VG9UYXE8G4VG
iotId: E24aKw6C6vBg3KETdHUae85aMY
iotToken: M23k6PJcjgehGaFnVN2T8Q9La66gShDD
productKey: blinker
uuid: a0071a6f45d911ebb5db5254
broker: blinker
host + url: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=aea389dfb9cf
clientID:
userName:
password: M23k6PJcjgehGaFnVN2T8Q9La66gShDD
subtopic:
pubtopic:
Traceback (most recent call last):
File "<stdin>", line 28, in <module>
File "Blinker/Blinker.py", line 234, in run
File "BlinkerAdapters/BlinkerWiFi.py", line 383, in connect
File "modules/simple.py", line 57, in connect
OSError: -201


请大神帮忙分析一下!谢谢!!!!!

topdog 发表于 2021-1-1 22:30

https://www.arduino.cn/thread-101564-1-1.html

l11 发表于 2021-3-30 20:59

我也遇到了这个问题,麻烦您加下我qq,1908681430向你请教一下
页: [1]
查看完整版本: ESP32运行microPython程序出错,请大神帮忙,谢谢