|
Treehopper C# API
|
Manages efficient updates of a collection of LEDs that may be attached to multiple drivers. More...
Public Member Functions | |
| LedCollection (IList< Led > Leds) | |
| Construct a new LED collection from the provided list of LEDs More... | |
| async Task | Flush (bool force=false) |
| Flush the values of the LEDs to the driver(s) the LEDs are attached to More... | |
Properties | |
| List< IFlushable > | Drivers = new List<IFlushable>() [get] |
| The drivers that belong to this LED collection More... | |
Manages efficient updates of a collection of LEDs that may be attached to multiple drivers.
| LedCollection | ( | IList< Led > | Leds | ) |
Construct a new LED collection from the provided list of LEDs
| Leds | The LEDs to build the collection on |
| async Task Flush | ( | bool | force = false | ) |
Flush the values of the LEDs to the driver(s) the LEDs are attached to
| force | Whether to force an update |
|
get |
The drivers that belong to this LED collection