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
..
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00