got speed calc working. Still goes in wrong direction
This commit is contained in:
@@ -150,7 +150,7 @@ volatile typedef struct BLDCmotor
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
static const uint8_t HALL_PATTERN_ARRAY[16] = {0, 5, 3, 1, 6, 4, 2, 0, 0, 3, 6, 2, 5, 1, 4, 0 };
|
||||
static const uint8_t MOTOR_COMMUTATION_STEPS[8] = {9, 1, 3, 2, 5, 6, 4, 9};
|
||||
static const uint8_t MOTOR_COMMUTATION_STEPS[8] = {20, 1, 3, 2, 5, 6, 4, 20};
|
||||
|
||||
volatile BLDCMotor_t Motor1;
|
||||
volatile BLDCMotor_t Motor2;
|
||||
|
||||
Reference in New Issue
Block a user