Skip to content

Commit

Permalink
Merge pull request #35 from atopile/napowderly/update-motor-constants
Browse files Browse the repository at this point in the history
updating resistance, kv and inductance
  • Loading branch information
napowderly authored Jun 24, 2024
2 parents 056e3d8 + 4238b65 commit 1c65fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


// BLDC motor & driver instance
BLDCMotor motor = BLDCMotor(5, 2.0f, 300.0f);
BLDCMotor motor = BLDCMotor(5, 5.2f, 120.0f, 0.000831f); // int pp, float R = NOT_SET, float KV = NOT_SET, float L = NOT_SET
BLDCDriver3PWM driver = BLDCDriver3PWM(PA0, PA1, PA2);

//Position Sensor
Expand Down

0 comments on commit 1c65fa9

Please sign in to comment.