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 RoboTx API.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 2.0.0
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.
|