Blynk_write and millis() problem

I honestly do not understand your question as it refers to millis()… but…

… a BLYNK_WRITE(Vpin) function is only processed when the widget (assigned to the Vpin) in the App experiences a state/data change.

The only way to run a Blynk function via code is to cause a change in the state/data via code - with a Blynk.virtualWrite(vPin, value) followed by a Blynk.syncVirtual(vPin) which then causes the function to run with new value.

Or, if just wanting the function to use the current vPin state, then the Blynk.syncVirtual(vPin) by itself will cause the function to run with last known state/data.

Yup :slight_smile:

1 Like