blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.84k stars 1.39k forks source link

Implement BLYNK_EVERY_N_SECS, BLYNK_EVERY_N_MILLIS #361

Closed vshymanskyy closed 7 years ago

vshymanskyy commented 7 years ago

Usage:

void loop() {
  ...
  BLYNK_EVERY_N_MILLIS(500) {
    Serial.println("Woa!!!");
  }
  ...
}

Supported variants:

doom369 commented 7 years ago

@vshymanskyy is that good idea to put it in the loop?

doom369 commented 7 years ago

@vshymanskyy examples?

vshymanskyy commented 7 years ago

we have no other option

On 2 Sep 2017 11:58 a.m., "Dmitriy Dumanskiy" notifications@github.com wrote:

@vshymanskyy https://github.com/vshymanskyy is that good idea to put it in the loop?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/blynkkk/blynk-library/issues/361#issuecomment-326732080, or mute the thread https://github.com/notifications/unsubscribe-auth/ABb9lDNOXINITlXqeD3NRGoW0ybe7jI4ks5seRiigaJpZM4PKNPe .

vshymanskyy commented 7 years ago

Examples will not be updated untill feedback and testing by community

On 2 Sep 2017 11:59 a.m., "Volodymyr Shymanskyi" vshymanskyi@gmail.com wrote:

we have no other option

On 2 Sep 2017 11:58 a.m., "Dmitriy Dumanskiy" notifications@github.com wrote:

@vshymanskyy https://github.com/vshymanskyy is that good idea to put it in the loop?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/blynkkk/blynk-library/issues/361#issuecomment-326732080, or mute the thread https://github.com/notifications/unsubscribe-auth/ABb9lDNOXINITlXqeD3NRGoW0ybe7jI4ks5seRiigaJpZM4PKNPe .