Removed Serial.begin() inside examples where not needed

This commit is contained in:
Federico Vanzati 2012-04-11 13:08:43 +02:00
parent 8e50ecbb6c
commit 44966b81f4
2 changed files with 3 additions and 6 deletions

View File

@ -50,9 +50,7 @@ int x = 5;
int y = 5;
void setup() {
Serial.begin(9600);
// initialize the I/O pins as outputs:
// initialize the I/O pins as outputs
// iterate over the pins:
for (int thisPin = 0; thisPin < 8; thisPin++) {
// initialize the output pins:

View File

@ -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() {