mirror of https://github.com/noisymime/Arduino.git
Fixing small typo in for-loop example.
This commit is contained in:
parent
e814744504
commit
650dc075a4
|
@ -26,7 +26,7 @@ void setup() {
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
// loop from the lowest pin to the highest:
|
// loop from the lowest pin to the highest:
|
||||||
for (int thisPin = 0; thisPin < 8; thisPin++) {
|
for (int thisPin = 2; thisPin < 8; thisPin++) {
|
||||||
// turn the pin on:
|
// turn the pin on:
|
||||||
digitalWrite(thisPin, HIGH);
|
digitalWrite(thisPin, HIGH);
|
||||||
delay(timer);
|
delay(timer);
|
||||||
|
|
Loading…
Reference in New Issue