UIFlow Guide
from m5stack import *
from m5ui import *
from uiflow import *
import time
import unit
setScreenColor(0x222222)
cardkb_0 = unit.get(unit.CARDKB, unit.PORTA)
while True:
print(cardkb_0.keyData)
print(cardkb_0.keyString)
wait(0.1)
wait_ms(2)
print(cardkb_0.keyData)
print(cardkb_0.isNewKeyPress())
print(cardkb_0.keyString)