Closed
Description
Tested on a Kaluga with CircuitPython 6.1 beta version, built locally with DEBUG=1,
>>> import adafruit_bitbangio as busio
>>> import board
>>> bus = busio.I2C(board.IO10, board.IO11); bus.try_lock(); bus.scan(); bus.deinit()
True
[0, 11, 112]
>>> bus = busio.I2C(board.IO10, board.IO11); bus.try_lock(); bus.scan(); bus.deinit()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/lib/adafruit_bitbangio.py", line 103, in __init__
ValueError: IO10 in use
Expected behavior: The bus object can be recreated
Actual behavior: The bus object cannot be recreated
Metadata
Metadata
Assignees
Labels
No labels