from machine import Pin, I2C
from ssd1306 import SSD1306_I2C
from Blinker.Blinker import Blinker, BlinkerButton, BlinkerNumber
from Blinker.BlinkerDebug import *
Traceback (most recent call last):
File "main.py", line 49, in
File "Blinker/Blinker.py", line 656, in weather
File "BlinkerAdapters/BlinkerWiFi.py", line 344, in weather
File "modules/urequests.py", line 112, in get
File "modules/urequests.py", line 60, in request
OSError: [Errno 12] ENOMEM
MicroPython v1.14 on 2021-04-09; ESP32 module with ESP32
Type "help()" for more information.
== 提问请到论坛 https://www.arduino.cn/forum-132-1.html ==
基本信息
设备信息
问题描述
使用了Blinker_Weather就会报错,其他的没问题
代码
from machine import Pin, I2C from ssd1306 import SSD1306_I2C from Blinker.Blinker import Blinker, BlinkerButton, BlinkerNumber from Blinker.BlinkerDebug import *
while True: oled.fill(0) oled.invert(False) Blinker.run() year = str(Blinker.year()) month = str(Blinker.month()) mday = str(Blinker.mday()) wday = Blinker.wday() hour = str(Blinker.hour()) min = str(Blinker.minute()) sec = str(Blinker.second()) oled.text(year+'/'+month+'/'+mday+' '+week[wday], 0, 0) oled.text(hour+':'+min+':'+sec, 0, 10) weather = Blinker.weather() oled.show()
LOG信息
在这里填写您设备串口输出的LOG信息
编译信息
Traceback (most recent call last): File "main.py", line 49, in
File "Blinker/Blinker.py", line 656, in weather
File "BlinkerAdapters/BlinkerWiFi.py", line 344, in weather
File "modules/urequests.py", line 112, in get
File "modules/urequests.py", line 60, in request
OSError: [Errno 12] ENOMEM
MicroPython v1.14 on 2021-04-09; ESP32 module with ESP32
Type "help()" for more information.