Description Usage Arguments Examples
This function reads one entry of input from an opened serial
port. Each line of entry is identified by the end of line character
eolchar
.
1 | ar_read(fd, eolchar = "\n", buf_max = 256L, timeout = 5000L)
|
fd |
File descriptor returned by |
eolchar |
End of line character. Default value is |
buf_max |
Maximum length of one line of entry. Default is 256. |
timeout |
Timeout for reads in millisecs. Default is 5000 ms. |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.