Description Usage Arguments Value Examples
Read from a serial interface connection to the SDS011 device
1 2 3 | sds011_read(con = sds011_connect(), n = 0)
sds011_read_int(con = sds011_connect(), n = 0, interval = 5)
|
con |
A serial connection to an SDS011 device connected via USB. Default
is a call to |
n |
Number of bytes to read. Only in binary mode. n=0 (default) reads the whole buffer at once. |
interval |
Reading interval in seconds. Default to 5 seconds. |
Readings from a serial interface connection to the SDS011 device
1 2 3 4 5 6 7 8 9 | ## Not run:
sds011_read()
## End(Not run)
## Not run:
sds011_read_int()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.