UIFlow Guide
输出电压值和原始数值
from m5stack import *
from m5ui import *
from uiflow import *
import hat
import hat
setScreenColor(0x111111)
hat_dac_0 = hat.get(hat.DAC)
hat_dac_0.setVoltage(1,save=True)
hat_dac_0.writeData(1,save=True)
hat_dac_0.setVoltage(1,save=True)
hat_dac_0.writeData(1,save=True)