We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc30365 commit 4f70b26Copy full SHA for 4f70b26
1 file changed
CircuitPython_Quick_Starts/UART_Test_Script/code.py
@@ -31,8 +31,7 @@ def get_unique_pins():
31
for rx_pin in get_unique_pins():
32
if rx_pin is tx_pin:
33
continue
34
+ if is_hardware_UART(tx_pin, rx_pin):
35
+ print("RX pin:", rx_pin, "\t TX pin:", tx_pin)
36
else:
- if is_hardware_UART(tx_pin, rx_pin):
- print("RX pin:", rx_pin, "\t TX pin:", tx_pin)
37
- else:
38
- pass
+ pass
0 commit comments