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: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
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.
|