diff --git a/jacobot/arduino/main.cpp b/jacobot/arduino/main.cpp index 703fed5..9a04cd4 100644 --- a/jacobot/arduino/main.cpp +++ b/jacobot/arduino/main.cpp @@ -22,7 +22,7 @@ #define LED_ORANGE 12 -#define SIZE = 500 +#define SIZE 500 MotorEncoder m1(MLEFT_ENC_PIN_A, MLEFT_ENC_PIN_B, MLEFT_E_MOTOR, MLEFT_M_MOTOR, MLEFT_ORIENTATION, MLEFT_RATIO, MLEFT_RADIUS); // Initialise motor MotorEncoder m2(MRIGHT_ENC_PIN_A, MRIGHT_ENC_PIN_B, MRIGHT_E_MOTOR, MRIGHT_M_MOTOR, MRIGHT_ORIENTATION, MRIGHT_RATIO, MRIGHT_RADIUS); // Initialise motor with pins