PulseCounter Class

Configures and calculates period of input pulses on Arduino pin A2.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public sealed class PulseCounter
Inheritance
Object    PulseCounter

Properties

Period Gets the pulse period (in milliseconds) reported by the pulse counter. Pulse counter must be enabled before values become available.

Methods

Disable Disables the pulse counter.
Enable Initializes and enables the pulse counter. Used for measuring pulses applied to input pin A2. Max pulse frequency 500hz. Inputs on A2 will not be registered as events whilst pulse counting is enabled.

See Also