Added moveControll in main.cpp

This commit is contained in:
2021-03-15 22:58:28 +01:00
parent 887b71ae5e
commit e798f0904c
3 changed files with 88 additions and 21 deletions
+1 -1
View File
@@ -23,5 +23,5 @@
#define PWM_CHANNEL_M2 1
#define UPDATE_TIME 25
#define SPEED_STEPS 5 // A total of 20 levels ( 100 / SPEED_STEPS ) * UPDATE_TIME = 500ms
#define PWM_MIN 40
#define PWM_MIN 150
#define PWM_MAX 245 // Max 98% of 2^PWM_RES