You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DESC: Provided a `bytearray`, send up to `count`, `len(send_buffer)`, or `len(send_buffer)-offset` (whichever is smallest and passed)bytes starting at `0` by default or from `offset` if passed
143
+
DESC: Provided a `bytearray`, send up to `count`, `len(send_buffer)`, or `len(send_buffer)-offset` (whichever is smallest and passed). Sends bytes starting at `0` by default or from `offset` if passed. The actual number of bytes sent is returned. If the send buffer is larger than 256 bytes, the extra data is not sent.
DESC: Read up to `count` or {ref_link:engine_link_available}, whichever is smallest. Allocates and returns a new `bytearray` if 1 or more bytes to read.
208
+
DESC: Read up to `count` or `engine_link.available()`, whichever is smallest. Allocates and returns a new `bytearray` if 1 or more bytes to read. If data is not read fast enough and `engine_link.available()` reaches 511 and new data is received, the oldest data is overwritten.
DESC: Read up to `count`, {ref_link:engine_link_available} or `len(buffer)`, whichever is smallest into `buffer` starting at `0` or from `offset` if passed.
247
+
DESC: Read up to `count`, `engine_link.available()` or `len(buffer)`, whichever is smallest into `buffer` starting at `0` or from `offset` if passed. If data is not read fast enough and `engine_link.available()` reaches 511 and new data is received, the oldest data is overwritten.
DESC: Returns the number of bytes available to read from the internal 512 byte buffer. If after 512 bytes more data is sent to the full internal buffer, those extra bytes overwrite previous bytes (ringbuffer).
310
+
DESC: Returns the number of bytes available to read from the internal 511 byte buffer. If after 511 bytes more data is sent to the full internal buffer, those extra bytes overwrite the oldest data (ringbuffer).
DESC: When not connected, always returns `False`. If connected, returns `True` the unit is acting as the USB host, otherwise returns `False` if acting as a USB device.
363
+
DESC: When not connected, always returns `False`. If connected, returns `True` if the unit is acting as the USB host, otherwise returns `False` if acting as a USB device.
0 commit comments