krzysp

my virtuino base code 1 - main unit

Dec 30th, 2022
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Arduino 0.57 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, vLED_timer);
  10.   Serial.begin(115200);
  11.   v_setup();      // setup virtuino
  12.   p_setup();      // setup program      
  13. }
  14. //============================================================== loop
  15. void loop() {
  16.   akcja.process();       // timer
  17.   virtuinoRun();        // virtuio
  18.   program_test();      // program
  19. }
  20.  
  21.  
Tags: virtuino
Advertisement
Add Comment
Please, Sign In to add comment