UIFlow Guide
from m5stack import *
from m5ui import *
from uiflow import *
import module
setScreenColor(0x222222)
plus = module.get(module.PLUS)
while True:
print((str('Encoder: ') + str((plus.get_encode()))))
print((str('Button: ') + str((plus.get_press()))))
wait_ms(2)
plus.clean_encode()
plus.get_encode()
plus.get_press()