diff options
| author | ATMakersBill <bill@atmakers.org> | 2018-10-09 22:50:59 -0400 |
|---|---|---|
| committer | ATMakersBill <bill@atmakers.org> | 2018-10-09 22:50:59 -0400 |
| commit | 05d4b8cf50685db683dd48d7d3037da868385a0a (patch) | |
| tree | 2827a3b42812df0f13096e21a1e9bfcee11ec705 /shared-bindings/supervisor | |
| parent | 9f94712ad10193c4fc6d888ef3ebc611bc0e011c (diff) | |
Added Documentation for the serial_bytes_available attribute
Diffstat (limited to 'shared-bindings/supervisor')
| -rwxr-xr-x | shared-bindings/supervisor/Runtime.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-bindings/supervisor/Runtime.c b/shared-bindings/supervisor/Runtime.c index 1cf2a3548..27b62abd4 100755 --- a/shared-bindings/supervisor/Runtime.c +++ b/shared-bindings/supervisor/Runtime.c @@ -53,6 +53,12 @@ //| //| Returns the USB serial communication status (read-only). //| +//| .. attribute:: runtime.serial_bytes_available +//| +//| Returns the whether any bytes are available to read +//| on the USB serial input. Allows for polling to see whether +//| to call the built-in input() or wait. (read-only) +//| //| .. note:: //| //| SAMD: Will return ``True`` if the USB serial connection |
