UIFlow Guide
串口打印获取的电压值和原始数值
from m5stack import *
from m5ui import *
from uiflow import *
import hat
import hat
setScreenColor(0x111111)
hat_adc_1 = hat.get(hat.ADC)
print(hat_adc_1.voltage)
print(hat_adc_1.rawData())
hat_adc_0.rawData()
hat_adc_0.voltage