mirror of https://github.com/noisymime/Arduino.git
Removed Serial.begin() inside examples where not needed
This commit is contained in:
parent
8e50ecbb6c
commit
44966b81f4
|
@ -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:
|
||||
|
|
|
@ -29,8 +29,7 @@ Stepper myStepper(stepsPerRevolution, 8,9,10,11);
|
|||
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() {
|
||||
|
|
Loading…
Reference in New Issue