Web dashboard led color

It would be nice if we could change the color of the web dashboard leds with
Blynk.setProperty(Vx, "color", "#D3435C");

:wink:

3 Likes

We’ll do.

4 Likes

@Blynk_Coeur implemented.

2 Likes

Wow, I’ll test ASAP
Thank you

Works well !!

2022-04-28_185719

2 Likes

what type datastream u choose sir? virtual INTEGER or DOUBLE?
i try to implement led change color using blynk.set property but dont work.

I use Integer
but don’t forget to set your led widget to 255 at setup

void setup() {
Blynk.virtualWrite(Vx, 255); 

Video_2022-12-24_173057

Tq sir…for the guide
Futher question… if i may…
in the integer datastream to set, what value should i set for the MIN and MAX value?

You can set the datastream min/max values to whatever you want.
If you want to mimic Legacy then go for 0/255 and send a 0 to turn the LED off and 255 to turn it on at full brightness.
If you do this and send 127 then the LED will be kit at 50% brightness.

Alternatively you can set the money/max to 0/1 but then obviously you don’t have any scope for intermediate brightnesses.

Pete.