done with all changes for new encoder

This commit is contained in:
2023-02-21 11:18:49 +01:00
parent 8bb38d560e
commit ba91da7ed3
7 changed files with 106 additions and 85 deletions
+2 -4
View File
@@ -13,14 +13,12 @@
#define M_DIR_11 12
#define M_DIR_12 27
#define M_PWM_1 13
#define M_ENCODE_1A 32
#define M_ENCODE_1B 33
#define M_ENCODE_LEFT 26
//Right Motor
#define M_DIR_21 23
#define M_DIR_22 14
#define M_PWM_2 22
#define M_ENCODE_2A 25
#define M_ENCODE_2B 26
#define M_ENCODE_RIGHT 12
// PID config
#define PID_OUT_MIN -100