Default Value
BLYNK_CONNECTED() {
// request the V1 value on connect
// for initial connect it will be default value 1
Blynk.sync(V1);
}
BLYNK_WRITE(V1)
{
// here you get default value 1
int bulbValue = param.asInt();
handle(bulbValue);
}Last updated
Was this helpful?

