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.

Definition

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

Properties

IsActive Returns true if the trigger is on or running a pattern cycle. Returns false otherwise.

Methods

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.

See Also