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.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public sealed class Switch
Public NotInheritable Class Switch
[<SealedAttribute>]
type Switch = class end
- Inheritance
- Object Switch
IsOn |
Returns true if the switch is set to On, false otherwise.
|
Off |
Switches off the digital output.
|
On |
Switches on the digital output.
|