Added Documentation for the serial_bytes_available attribute

This commit is contained in:
ATMakersBill 2018-10-09 22:50:59 -04:00
parent 9f94712ad1
commit 05d4b8cf50

View File

@ -53,6 +53,12 @@
//| //|
//| Returns the USB serial communication status (read-only). //| 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:: //| .. note::
//| //|
//| SAMD: Will return ``True`` if the USB serial connection //| SAMD: Will return ``True`` if the USB serial connection