UIFlow Guide
from m5stack import *
from m5ui import *
from uiflow import *
import unit
setScreenColor(0x222222)
KMeterISO_0 = unit.get(unit.KMETER_ISO, unit.PORTA)
KMeterISO_0.init_i2c_address(0x66)
print((str('Version:') + str((KMeterISO_0.get_firmware_version()))))
print((str('I2C address:') + str((KMeterISO_0.rw_i2c_address()))))
while True:
print((str('thermocouple::') + str((KMeterISO_0.get_kmeter_thermo(1)))))
print((str('internal:') + str((KMeterISO_0.get_kmeter_internal(1)))))
wait_ms(2)
KMeterISO_0.init_i2c_address(0x66)
print(KMeterISO_0.get_firmware_version())
print(KMeterISO_0.rw_i2c_address())
print(KMeterISO_0.get_kmeter_internal(1))
print(KMeterISO_0.get_isready())
print(KMeterISO_0.get_kmeter_internal_string(1))
print(KMeterISO_0.get_kmeter_thermo_string(1))
print(KMeterISO_0.get_kmeter_thermo(1))
KMeterISO_0.rw_i2c_address(0x66)