Skip to content

Commit e11ab31

Browse files
authored
Update open_loop_position_example.ino
1 parent 1a267af commit e11ab31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)