Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Timers.h>
- Timers<5> akcja;
- #include "v1.h" // moja bibloteka virtuino
- #include "program.h" // biblioteka na jakiś mój program
- //============================================================== setup
- void setup() {
- akcja.attach(0, 2100, LED_timer);
- akcja.attach(1, 60050, czas_timer); //
- Serial.begin(115200);
- v_setup(); // setup virtuino
- p_setup(); // setup program
- }
- //============================================================== loop
- void loop() {
- akcja.process(); // timer
- virtuinoRun(); // virtuio
- program_grzalka(); // program
- }
Advertisement
Add Comment
Please, Sign In to add comment