This commit is contained in:
2023-01-09 15:32:52 +01:00
parent d570fae5f0
commit 26d010c6f0
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -13,13 +13,14 @@
#include <cstdint>
#include <string>
#include <iostream>
#include <Arduino.h>
#define DELAY 10
#define PWMFREQ 16000
#define PWMRES 8
#define POWERSTEPS 2 // A total of 20 levels ( 100 / SPEED_STEPS ) * RUN_MOTOR_CONTROL_DELAY = 500ms
#define PWMMIN 50
#define PWMMIN 55
#define PWMMAX 95 // Max 98% of 2^PWM_RES
/**