I am trying to set the “offBackColor” on my styled button, the color and label will not change when I call it from my procedure. However it will only change if I physically touch the button at BLYNK_WRITE(V14) in my code. Why will it not change.
I have done some background searching at the links below and more but no solution…
Styled Button (custom colours/intensity) - #3 by Gunner
//END OF MANUAL
xor_result = nowseconds ^ Prog_1_Zone_Timer[13]; //check if end of Manual
if(xor_result == 0){ // Zone 4 end time
Serial.println("end of manual");
Blynk.setProperty(V14, "offBackColor", BLYNK_YELLOW);
Blynk.setProperty(V14, "offLabel", "OFF");
Blynk.virtualWrite(V41," --:--:--");
}
//...........................................................................................................................
//Manual Overide
BLYNK_WRITE(V14){
if (param.asInt()== 1){
Prog_1_Total_Time(2); // calculate manual end time
Setup_Time_Table(nowseconds); // manual start Prog 1
Update_Zone_PROG_1(); // start the timer
}
else{
Blynk.setProperty(V14, "offBackColor", BLYNK_YELLOW);
Blynk.setProperty(V14, "offLabel", "OFF");
Blynk.virtualWrite(V41," --:--:--");
}
}