From d3b283c69e9cf5ac6fe18c25be77a9b0488b9454 Mon Sep 17 00:00:00 2001 From: EnricoGuccii Date: Fri, 29 May 2026 23:34:00 +0200 Subject: new file structure, and buzzer removed --- firmware/lib/motors/motors.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 firmware/lib/motors/motors.h (limited to 'firmware/lib/motors/motors.h') 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 -#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 -- cgit v1.2.3