examples: Fix Nicla Vision extint example.

* Fixes #1885
This commit is contained in:
iabdalkader 2023-07-05 14:53:02 +02:00
parent 5860ec3286
commit d82ed85f9c

View File

@ -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.