Firmware
Adafruit CircuitPython 6.2.0 on 2021-04-05; Raspberry Pi Pico with rp2040
Code 1
from board import GP13
from pulseio import PulseIn
PulseIn(GP13).deinit()
PulseIn(GP13).deinit() # Traceback 1
Code 2
from board import GP13
from pulseio import PulseIn
with PulseIn(GP13):
pass
with PulseIn(GP13): # Traceback 2
pass
Traceback 1
Traceback (most recent call last):
File "code.py", line 5, in <module>
ValueError: GP13 in use
Traceback 2
Traceback (most recent call last):
File "code.py", line 6, in <module>
ValueError: GP13 in use
Firmware
Code 1
Code 2
Traceback 1
Traceback 2