aboutsummaryrefslogtreecommitdiff
path: root/libraries/Stepper/examples/stepper_speedControl
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2012-06-27 13:51:16 +0200
committerCristian Maglie <c.maglie@bug.st>2012-06-27 13:51:16 +0200
commit2d2050eabeaff7109ba89fdd0100556c981cf373 (patch)
tree1f6d9725b59aa02e5400a8117eeec3206d88047d /libraries/Stepper/examples/stepper_speedControl
parent324023a67afd1691f12ead4388d7cdf1a9d1a6ef (diff)
parent31c24577835b0a9c7a1291ffbda1b61d96818511 (diff)
Merged master
Diffstat (limited to 'libraries/Stepper/examples/stepper_speedControl')
-rw-r--r--libraries/Stepper/examples/stepper_speedControl/stepper_speedControl.ino5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/Stepper/examples/stepper_speedControl/stepper_speedControl.ino b/libraries/Stepper/examples/stepper_speedControl/stepper_speedControl.ino
index dbd0f7f..1a67a55 100644
--- a/libraries/Stepper/examples/stepper_speedControl/stepper_speedControl.ino
+++ b/libraries/Stepper/examples/stepper_speedControl/stepper_speedControl.ino
@@ -26,11 +26,10 @@ const int stepsPerRevolution = 200; // change this to fit the number of steps p
// initialize the stepper library on pins 8 through 11:
Stepper myStepper(stepsPerRevolution, 8,9,10,11);
-int stepCount = 0; // number of steps the motor has taken
+int stepCount = 0; // number of steps the motor has taken
void setup() {
- // initialize the serial port:
- Serial.begin(9600);
+ // nothing to do inside the setup
}
void loop() {