refactor - change constants

This commit is contained in:
2023-01-18 10:33:47 +01:00
parent 801a474b49
commit 97495338d7
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ class MoveControl {
uint8_t delay = 20;
uint8_t overTimeCounter = 0;
uint8_t overTimeMax = 10;
uint8_t overTimeMax = 100;
int8_t rawPowerLeft = 0;
int8_t rawPowerRight = 0;
uint32_t lastMillis = 0;
+4 -4
View File
@@ -13,14 +13,14 @@
#define M_DIR_11 12
#define M_DIR_12 27
#define M_PWM_1 13
#define M_ENCODE_1A 33
#define M_ENCODE_1B 32
#define M_ENCODE_1A 32
#define M_ENCODE_1B 33
//Right Motor
#define M_DIR_21 23
#define M_DIR_22 14
#define M_PWM_2 22
#define M_ENCODE_2A 26
#define M_ENCODE_2B 25
#define M_ENCODE_2A 25
#define M_ENCODE_2B 26
// PID config
#define PID_OUT_MIN -100