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 436240f commit 2f401b7Copy full SHA for 2f401b7
CircuitPython_Essentials/Pin_Map_Script/code.py
@@ -12,8 +12,8 @@
12
13
board_pins = []
14
for pin in dir(microcontroller.pin):
15
- if isinstance(getattr(microcontroller.pin, pin), microcontroller.Pin) or \
16
- (cyw43 and isinstance(getattr(microcontroller.pin, pin), cyw43.CywPin)):
+ if (isinstance(getattr(microcontroller.pin, pin), microcontroller.Pin) or
+ (cyw43 and isinstance(getattr(microcontroller.pin, pin), cyw43.CywPin))):
17
pins = []
18
# uncomment to show microcontroller pins
19
# pins.append("microcontroller.{}\t".format(pin))
0 commit comments