BuildSetSamplingIntervalRequest(System.Int32) Method

Generates a byte array containing the encoded data that represents a request to set the sampling rate for the Firmata sketch running on the target hardware. The sampling rate is how frequently the target hardware polls for data updates.

Parameters

Name Description
milliseconds The new sampling rate in milliseconds.

Returns

The encoded message.

Exceptions

Remarks

The StandardFirmata sketch uses a default value of 19 milliseconds.

Examples

See Also

Last edited Jul 5, 2010 at 6:39 PM by RhyMednick, version 2

Comments

No comments yet.