UIFlow Guide
from m5stack import *
from m5ui import *
from uiflow import *
import unit
setScreenColor(0x222222)
accel_0 = unit.get(unit.ACCEL, unit.PORTA)
while True:
print((str('X ACC:') + str((accel_0.acceleration[0]))))
print((str('Y ACC:') + str((accel_0.acceleration[1]))))
print((str('Z ACC:') + str((accel_0.acceleration[2]))))
wait_ms(2)
print((str('X ACC:') + str((accel_0.acceleration[0]))))
print((str('Y ACC:') + str((accel_0.acceleration[1]))))
print((str('Z ACC:') + str((accel_0.acceleration[2]))))