Pins in UIflow
Kris last edited by
Which physical pins on the M5stack and M5stick correspond to pins 0-5 in UIflow?
felmue last edited by felmue
that is entirely up to you - pin0-4 are just variables.
In UIFlow use the first statement to initialise the desired GPIO (0-36) to be used with one of the 5 variables (pin0-4).
MicroPython example: variable pin0 is used for GPIO18:
pin0 = machine.Pin(18, mode=machine.Pin.IN, pull=machine.Pin.PULL_UP)
Kris last edited by Kris