>>> import pwmio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/lf7/.venv/lib/python3.11/site-packages/pwmio.py", line 62, in <module>
raise NotImplementedError("pwmio not supported for this board.")
NotImplementedError: pwmio not supported for this board.
Board Name
Raspberry Pi 4
Steps
Description
No response
Additional information
Line 45 in src/pwmio.py should probably be
elif
instead ofif
. In its current form importing pwmio raises an error even if any detection above that line returns True. https://github.com/adafruit/Adafruit_Blinka/blob/e13c0662ce0da9e936c652953aa1d3f9d6b872d5/src/pwmio.py#L45-L46