Represents a single APA102 LED's value
More...
Inherits IRgbLed.
|
void | SetRgb (float red, float green, float blue) |
| Set the RGB value of this RGB LED More...
|
|
void | SetHsl (float hue, float saturation, float luminance) |
| Set the hue, saturation, and luminance of this RGB LED More...
|
|
void | SetColor (Color color) |
| Set the color of the RGB LED More...
|
|
Represents a single APA102 LED's value
◆ SetRgb()
void SetRgb |
( |
float |
red, |
|
|
float |
green, |
|
|
float |
blue |
|
) |
| |
Set the RGB value of this RGB LED
- Parameters
-
red | The red intensity, from 0-255 |
green | The green intensity, from 0-255 |
blue | The blue intensity, from 0-255 |
◆ SetHsl()
void SetHsl |
( |
float |
hue, |
|
|
float |
saturation, |
|
|
float |
luminance |
|
) |
| |
Set the hue, saturation, and luminance of this RGB LED
- Parameters
-
hue | The hue, from 0-360 degrees, of the desired color |
saturation | The saturation, from 0-100, of the desired color |
luminance | The luminance, from 0-100, of the desired color |
◆ SetColor()
void SetColor |
( |
Color |
color | ) |
|
Set the color of the RGB LED
- Parameters
-
◆ RedGain
◆ GreenGain
◆ BlueGain
The documentation for this class was generated from the following file:
- F:/Git/treehopper-sdk/NET/API/Treehopper.Libraries/Displays/Apa102.cs