UIFlow Guide
输出温湿度和大气压力数值
from m5stack import *
from m5ui import *
from uiflow import *
import hat
import hat
setScreenColor(0x111111)
hat_env_0 = hat.get(hat.ENV)
while True:
print(hat_env_0.pressure)
print(hat_env_0.temperature)
print(hat_env_0.humidity)
wait_ms(2)
hat_env_0.humidity
hat_env_0.temperature
hat_env_0.pressure