Commit Graph

2 Commits

Author SHA1 Message Date
Matthew Skinner
ec863117ea
[wled] Abstract json api for better segment support (#11509)
* Change to json for states


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add 3rd colours.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Segments now mostly work


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* changes to json api fully made


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Mirror and Reverse channels added.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Remove old channels when needed.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Simplify return

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add support for named presets


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Dont add empty preset 0 to list


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add preset saving with custom names


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Tidy up


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Rename function for clarity


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add more channels

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Clean up


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Fix bugs and update readme for new channels


Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-11-20 12:41:46 +01:00
Matthew Skinner
c49eeb2528
[WLed] Initial contribution - Binding for LED strings with a large range of built in FX. (#8669)
* V3
* Fix null compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-03 09:09:40 -08:00