Method | Description | |
---|---|---|
Blink ( |
Blinks the LED.
|
|
Blink ( |
Blinks the LED.
|
|
Off ( ) : void |
Switches the light off.
|
|
On ( ) : void |
Switches the light on.
|
|
Pulse ( |
Pulses the state of the LED.
|
|
Pulse ( |
Pulses the state of the LED.
|
|
Toggle ( ) : void |
Toggles the state of the LED.
|
Method | Description | |
---|---|---|
LEDBase ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Lights.LEDBase class. This is the default constructor.
|
|
OnStateChanged ( |
Raises the state changed event.
|
public abstract Blink ( |
||
delay | /// The delay between state change. /// | |
return | void |
public abstract Blink ( |
||
delay | /// The delay between state change. /// | |
duration | /// The amount of time to blink the LED (in milliseconds). /// | |
return | void |
protected OnStateChanged ( |
||
e | /// The event arguments. /// | |
return | void |
public abstract Pulse ( |
||
duration | /// The amount of time to pulse the LED. /// | |
return | void |
public abstract Pulse ( |
||
duration | /// The amount of time to pulse the LED. /// | |
blocking | System.Boolean | /// Blocks the current thread while pulsing. /// |
return | void |