summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEnricoGuccii <partyka.003@proton.me>2025-12-23 16:59:20 +0100
committerEnricoGuccii <partyka.003@proton.me>2025-12-23 16:59:20 +0100
commit4bd0a060d100c7fb9ad657c939b954b081b62016 (patch)
treeb6d1c4f7504c2c8fd5b561c5200447ad6a58501a /src
parent967500ab8abefa6700941d589979176677ab0d72 (diff)
eee
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/main.cpp b/src/main.cpp
deleted file mode 100644
index 880856f..0000000
--- a/src/main.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-#include "buzzer.h"
-#include "motors.h"
-#include "oled.h"
-#include "rgb.h"
-#include "settings.h"
-#include <Arduino.h>
-
-#include "animations.h"
-
-RGB rgb;
-BUZZER buzzer;
-MOTORS motors; // speed 80 is prefered, because of higher input voltage (5V
- // -> 3.7V after H-bridge), motor is rated for 3V
-// in practice, speed below 70 dosn't even work.
-OLED oled;
-
-void setup() {
- rgb.init();
- buzzer.init();
- motors.init();
- oled.init();
- oled.showMessage("czesc");
- delay(3000);
-}
-
-void loop() {
- oled.showAnimation(animacja1[0], animacja1FrameCount, animacja1Width,
- animacja1Height, 160);
- oled.showAnimation(animacja1[0], animacja1FrameCount, animacja1Width,
- animacja1Height, 80);
- oled.showAnimation(animacja1[0], animacja1FrameCount, animacja1Width + 20,
- animacja1Height, 50); // fajny efekt
- oled.showAnimation(animacja2[0], animacja2FrameCount, animacja2Width,
- animacja2Height, 160);
- oled.showAnimation(animacja2[0], animacja2FrameCount, animacja2Width,
- animacja2Height, 80);
-}