Switch Class

Sets a digital output to on or off. 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 Switch
Inheritance
Object    Switch

Properties

IsOn Returns true if the switch is set to On, false otherwise.

Methods

Off Switches off the digital output.
On Switches on the digital output.

See Also