![]() |
firmwareSandsara
|
[BLE Command] This function is called when you write the UpdatePalette characteristic More...


[BLE Command] This function is called when you write the UpdatePalette characteristic
You can define a custom palette to be shown in the led strip and you only need to send the “main colors” of the palette ( as low as 2 and up to 16) which Sandsara internally interpolates to a 256 color gradient.
Properties:
UUID: 1a9a87b8-2305-11eb-adc1-0242ac120002
Usage: To define the custom palette, your need the next information: Amount of Colors, Positions, Red, Green, and Blue. only write to this characteristic the number of colors, positions, reds, greens, and blues values. Every value must be a Byte.
Range:
In this image you can see more clearly how to send a palette.
posible reponses:
if you want to know what is the current palette you need to read the next characteristics