@m5stack on my core2 after 2 set.data commands I get the [Errno 12] ENOMEM every time
makes the EZ data function useless.
Ive tried slowing down set data commands , once every 30 seconds , but the error occurs always.
I can only publish 2 data, then I must reset
here is the code..what is wrong? it's quote absurd. The code is so simple....
from m5stack import *
from m5stack_ui import *
from uiflow import *
import ntptime
import wifiCfg
import time
from flow import ezdata
screen = M5Screen()
screen.clean_screen()
screen.set_screen_bg_color(0xFFFFFF)
data = None
wifiCfg.doConnect('XXXXXXX"')
wifiCfg.autoConnect(lcdShow=False)
import random
while True:
data = random.randint(0, 100)
try :
ezdata.setData('XXXXXXXX', 'temp', data)
except Exception as e:
print(str(e))
wait(30)