Creates a background C++ thread which will poll the given channel at the
specified interval, accumulating the values in a buffer until
read_poll
is called.
1 | start_poll(chan, ms = 1000, buffer_size = 1024L)
|
chan |
The channel number on which to poll. |
ms |
The number of millisecons to wait in between each poll. |
buffer_size |
The size of the buffer into which we should accumulate values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.