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 41978da commit caa352aCopy full SHA for caa352a
UART-Between-Boards/code.py
@@ -65,7 +65,7 @@
65
pass
66
67
byte_read = uart.read(1) # Read one byte over UART lines
68
- if byte_read is None:
+ if not byte_read:
69
# Nothing read.
70
continue
71
0 commit comments