UIFlow Guide
from m5stack import *
from m5ui import *
from uiflow import *
import unit
setScreenColor(0x222222)
color_0 = unit.get(unit.COLOR, unit.PORTA)
while True:
print((str('R:') + str(str((color_0.red)))))
print((str('G:') + str(str((color_0.green)))))
print((str('B:') + str(str((color_0.blue)))))
wait_ms(2)
print(color_0.rawData)
print(color_0.blue)
print(color_0.green)
print(color_0.red)
color_0.setGains(0x00)
color_0.setIntegrationTime(0xFF)