Trigger Class
A digital trigger for repeating pulse cycle patterns.
Use for an audio or visual alert (e.g. active beeper) using repeating cycle patterns.
The Arduino digital pin and values that represent on and off are configured in the firmware settings.
Namespace: RoboTx.ApiAssembly: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+58b061ffe902bd370f7f9a4c58103d8e1f566889
public sealed class Trigger
Public NotInheritable Class Trigger
[<SealedAttribute>]
type Trigger = class end
- Inheritance
- Object Trigger
| IsActive |
Returns true if the trigger is on or running a pattern cycle. Returns false otherwise.
|
| Off |
Stops the trigger if it is on or running a pattern cycle.
|
| On |
Switches on the trigger for an indefinite period.
|
| Pulse |
Trigger a short pulse.
|
| Pulse(Int32) |
Trigger a pulse for a specified period in milliseconds.
|
| Repeat |
Pulses the trigger indefinitely with a continous sequence of on/off periods.
|
| RunPattern |
Runs a repeating pattern of digital pulses.
|
| SetOffPeriod(Int32) |
Sets the off period between pulses whilst the trigger is cyclng through a repeat pattern.
|
| SetOffPeriod(Single) |
Sets the off period between pulses whilst the trigger is cyclng through a repeat pattern.
|