diff options
| author | EnricoGuccii <partyka.003@proton.me> | 2026-05-29 23:34:00 +0200 |
|---|---|---|
| committer | EnricoGuccii <partyka.003@proton.me> | 2026-05-29 23:34:00 +0200 |
| commit | d3b283c69e9cf5ac6fe18c25be77a9b0488b9454 (patch) | |
| tree | b39c0bda024eb053a0daab7b938be72a7d3e470e /firmware/lib/motors/motors.h | |
| parent | 4bd0a060d100c7fb9ad657c939b954b081b62016 (diff) | |
new file structure, and buzzer removed
Diffstat (limited to 'firmware/lib/motors/motors.h')
| -rw-r--r-- | firmware/lib/motors/motors.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/firmware/lib/motors/motors.h b/firmware/lib/motors/motors.h deleted file mode 100644 index b7cc7f1..0000000 --- a/firmware/lib/motors/motors.h +++ /dev/null @@ -1,29 +0,0 @@ -#include <Arduino.h>
-#include "settings.h"
-
-#pragma once
-
-class MOTORS
-{
-public:
- MOTORS();
- void init();
-
- void forward(int speed, int duration = 0);
- void backward(int speed, int duration = 0);
-
- void leftForward(int speed, int duration = 0);
- void leftBackward(int speed, int duration = 0);
- void rightForward(int speed, int duration = 0);
- void rightBackward(int speed, int duration = 0);
-
- void leftTurn(int speed, int duration = 0);
- void rightTurn(int speed, int duration = 0);
-
- void leftStop();
- void rightStop();
- void stop();
-
-private:
- int scaleSpeed(int speed);
-};
\ No newline at end of file |