Doesn't identify passed pins as pins on raspberry pi with blinka #19
Labels
bug
Something isn't working
good first issue
Good for newcomers
Hacktoberfest
DigitalOcean's Hacktoberfest
Running on a Pi 3 (python 3.7.3).
This line does not identify pins correctly:
Adafruit_CircuitPython_RGBLED/adafruit_rgbled.py
Lines 104 to 110 in cb62700
Is there a compatible way to actually test if it's a pin ? Just try/except it ?
In Circuitpython a pin is an instance of microcontroller.Pin (for
isinstance
), but not currently in Blinka.If we are going with strings, there's
board.D1.__class__.__name__ == "Pin"
?The text was updated successfully, but these errors were encountered: