10 lines
135 B
Python
Raw Normal View History

2025-04-10 17:31:33 +08:00
print('test Pika Gpio')
pin = ec7xx.GPIO()
pin.setPin(1)
pin.setMode('out')
pin.getMode()
pin.enable()
pin.high()
pin.low()
pin.read()