krzysp

BLYNK grzejnik blok .ino

Jan 1st, 2023
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Arduino 0.48 KB | Source Code | 0 0
  1. #define BLYNK_MSG_LIMIT 0
  2. // #error "Compiles"
  3. #include <EEPROM.h>
  4. #include <Timers.h>  //  my favorite timer
  5. Timers<5> akcja;     //
  6. #include "blynk.h"  //obsługa BLYNKa
  7. #include "pompa.h"  //
  8.  
  9. void setup() {
  10.   akcja.attach(0, 3100, blynk_timer);  //
  11.   akcja.attach(2, 2100, vLED_timer);
  12.   akcja.attach(3, 60050, czas_timer);  //
  13.  
  14.   blynksetup();  // setup biblioteki BLYNK
  15.   pompasetup();
  16. }
  17.  
  18. void loop() {
  19.   akcja.process();  // timer
  20.   blynkakcja();     //BLYNK
  21. }
Tags: BLYNK
Advertisement
Add Comment
Please, Sign In to add comment