hello i want to make a schedule of 3 states according to a certain temperature that is different using a segment switch
[Unformatted code removed by moderator]
hello i want to make a schedule of 3 states according to a certain temperature that is different using a segment switch
[Unformatted code removed by moderator]
Hey there,
First please edit your post and add triple backticks at the beginning and the end of your sketch, triple backticks look like this```
Second read this :
https://docs.blynk.io/en/legacy-platform/legacy-articles/keep-your-void-loop-clean
Third how to use segmented switch
BLYNK_WRITE(vPin) {
switch (param.asInt())
{
case 1: { // Item 1
// Do something
break;
}
case 2: { // Item 2
// Do something
break;
}
case 3: { // Item 3
// Do something
break;
}
case 4: { // Item 4
// Do something
break;
}
case 5: { // Item 5
// Do something
break;
}
}
}