Skip to content

Commit f60c953

Browse files
Merge pull request #449 from simplefoc/current_calculation_typo_in_comments
Current calculation typo in comments
2 parents 5981f8b + 83c341b commit f60c953

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/hardware_specific_examples/Teensy/Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void setup() {
3838
// limiting motor movements
3939
// limit the voltage to be set to the motor
4040
// start very low for high resistance motors
41-
// currnet = resistance*voltage, so try to be well under 1Amp
41+
// currnet = voltage/resistance, so try to be well under 1Amp
4242
motor.voltage_limit = 3; // [V]
4343

4444
// open loop control config

examples/hardware_specific_examples/Teensy/Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void setup() {
5353
// limiting motor movements
5454
// limit the voltage to be set to the motor
5555
// start very low for high resistance motors
56-
// currnet = resistance*voltage, so try to be well under 1Amp
56+
// currnet = voltage/resistance, so try to be well under 1Amp
5757
motor.voltage_limit = 3; // [V]
5858

5959
// open loop control config

examples/motion_control/open_loop_motor_control/open_loop_position_example/open_loop_position_example.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void setup() {
4646
// limiting motor movements
4747
// limit the voltage to be set to the motor
4848
// start very low for high resistance motors
49-
// currnet = resistance*voltage, so try to be well under 1Amp
49+
// currnet = voltage/resistance, so try to be well under 1Amp
5050
motor.voltage_limit = 3; // [V]
5151
// limit/set the velocity of the transition in between
5252
// target angles
@@ -78,4 +78,4 @@ void loop() {
7878

7979
// user communication
8080
command.run();
81-
}
81+
}

0 commit comments

Comments
 (0)