We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f99b1c8 commit 270f2aeCopy full SHA for 270f2ae
drivers/display/st7789_spi.py
@@ -358,8 +358,10 @@ def savePinModeAlt(self, pin):
358
Returns:
359
tuple: (mode, alt)
360
"""
361
+ # See: https://github.com/micropython/micropython/issues/17515
362
# There's no way to get the mode and alt of a pin directly, so we
- # convert the pin to a string and parse it. Example format:
363
+ # convert the pin to a string and parse it. Example formats:
364
+ # "Pin(GPIO16, mode=OUT)"
365
# "Pin(GPIO16, mode=ALT, alt=SPI)"
366
pinStr = str(pin)
367
0 commit comments