diff options
Diffstat (limited to 'libraries/Stepper')
-rw-r--r-- | libraries/Stepper/examples/stepper_speedControl/stepper_speedControl.ino | 5 |
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() { |