Skip to content

Commit 05d4b8c

Browse files
committed
Added Documentation for the serial_bytes_available attribute
1 parent 9f94712 commit 05d4b8c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

shared-bindings/supervisor/Runtime.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
//|
5454
//| Returns the USB serial communication status (read-only).
5555
//|
56+
//| .. attribute:: runtime.serial_bytes_available
57+
//|
58+
//| Returns the whether any bytes are available to read
59+
//| on the USB serial input. Allows for polling to see whether
60+
//| to call the built-in input() or wait. (read-only)
61+
//|
5662
//| .. note::
5763
//|
5864
//| SAMD: Will return ``True`` if the USB serial connection

0 commit comments

Comments
 (0)