UIFlow Guide
from m5stack import *
from m5ui import *
from uiflow import *
remoteInit()
setScreenColor(0x111111)
x = None
def _remote_ON_OFF(x):
if x == 1:
rgb.setColorAll(0x3333ff)
else:
rgb.setColorAll(0x000000)
def _remote_Bright(x):
rgb.setBrightness(x)
lcd.qrcode('http://flow-remote.m5stack.com/?remote=undefined', 72, 32, 176)
lcd.qrcode('http://flow-remote.m5stack.com/?remote=undefined', 72, 32, 176)
def _remote_SwitchName(x):
pass
def _remote_ButtonName():
pass
def _remote_SliderName(x):
pass
def _remote_LabelName(x):
pass
def _remote_InputName(x):
pass