start_poll: Start a Poll

Description Usage Arguments

Description

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.

Usage

1
start_poll(chan, ms = 1000, buffer_size = 1024L)

Arguments

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.


trestletech/RpiR documentation built on May 31, 2019, 7:47 p.m.