This command receives a string from the first mini USB port USB0.
It has no input parameter.
The return value is a Python string which contains the data received and stored in buffer at the moment of command execution. The value might be empty if no data is received.
Example:
a = USB0.read()
receives a string from the first mini USB port USB0 handling, assigning the return value to a.
|
|
Note: The buffer available for the USB0.read command is 32767 bytes. The maximum number of bytes returned by each USB0.read is 8191. |
|
|
Note: It is up to Python script to keep empty USB0.read buffer. |