I'm using UIFlow to read a temperature from the ENV3 hat connected to a StickC, but am consistently getting the above error on the screen. The code is:
from m5stack import *
from m5ui import *
from uiflow import *
import hat
setScreenColor(0x111111)
hat_env3_4 = hat.get(hat.ENV3)
label0 = M5TextBox(16, 37, "label0", lcd.FONT_Default, 0xFFFFFF, rotate=0)
while True:
label0.setText(str(hat_env3_4.temperature))
What can be causing this?