krzysp

virtuino grzejnik blog główny

Jan 2nd, 2023
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Arduino 0.61 KB | Source Code | 0 0
  1. #include <Timers.h>
  2. Timers<5> akcja;
  3.  
  4. #include "v1.h"        // moja bibloteka virtuino
  5. #include "program.h"   // biblioteka na jakiś mój program
  6.  
  7. //============================================================== setup
  8. void setup() {
  9.   akcja.attach(0, 2100, LED_timer);
  10.   akcja.attach(1, 60050, czas_timer);  //
  11.   Serial.begin(115200);
  12.   v_setup();      // setup virtuino
  13.   p_setup();      // setup program
  14. }
  15. //============================================================== loop
  16. void loop() {
  17.   akcja.process();       // timer
  18.   virtuinoRun();        // virtuio
  19.   program_grzalka();      // program
  20. }
Tags: virtuino
Advertisement
Add Comment
Please, Sign In to add comment