mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
parent
5860ec3286
commit
d82ed85f9c
@ -8,7 +8,7 @@ def callback(line):
|
||||
pass
|
||||
|
||||
led = pyb.LED(3)
|
||||
pin = Pin("GPIO0", Pin.IN, Pin.PULL_UP)
|
||||
pin = Pin("PG12", Pin.IN, Pin.PULL_UP)
|
||||
ext = ExtInt(pin, ExtInt.IRQ_FALLING, Pin.PULL_UP, callback)
|
||||
|
||||
# Enter Stop Mode. Note the IDE will disconnect.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user