aboutsummaryrefslogtreecommitdiff
path: root/libraries/Stepper/examples
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2012-05-23 09:22:52 +0200
committerCristian Maglie <c.maglie@bug.st>2012-05-23 09:22:52 +0200
commita3dbb49c078176fca1610f4a61b0d1b23e3f37c9 (patch)
tree97c6f70b3f54da526db9acf93ed0b4ef24248b4e /libraries/Stepper/examples
parent3786e337e0211ca1ef94b37b03e891adfb3b5f9a (diff)
parent810803c6d3ab33a4496a89f41ef7e1dda15e8680 (diff)
Merge of arduino-1.0.1. Work in progress...
Diffstat (limited to 'libraries/Stepper/examples')
-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() {