PulseCounter Class
Configures and calculates period of input pulses on configurable Arduino pin, as defined
in the RoboTx firmware settings (default is A2).
This feature is only available in the Education Edition of the Robo-Tx API.
Namespace: RoboTx.ApiAssembly: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+58b061ffe902bd370f7f9a4c58103d8e1f566889
public sealed class PulseCounter
Public NotInheritable Class PulseCounter
[<SealedAttribute>]
type PulseCounter = class end
- Inheritance
- Object PulseCounter
| Period |
Gets the pulse period (in milliseconds) reported by the pulse counter.
Pulse counter must be enabled before values become available.
|
| Disable |
Disables the pulse counter.
|
| Enable |
Initializes and enables the pulse counter. Used for measuring pulses applied to a designated input pin defined. Max pulse frequency 500hz.
Inputs on A2 will not be registered as events whilst pulse counting is enabled.
|