We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7342751 commit db5084aCopy full SHA for db5084a
examples/Tools/Test_Motor_Angular_Control/Test_Motor_Angular_Control.ino
@@ -32,9 +32,9 @@ void loop()
32
return;
33
}
34
35
- for (float i = 0.0; i <= 180.0; i+=10.0) {
36
- Braccio.move(selected_motor).to(i);
37
- Serial.println("Current angle: " + String(i));
+ for (float angle = 0.0; angle <= 180.0; angle += 10.0) {
+ Braccio.move(selected_motor).to(angle);
+ Serial.println("Current angle: " + String(angle));
38
delay(100);
39
40
0 commit comments