1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-26 20:54:22 +01:00

Fixing small typo in for-loop example.

This commit is contained in:
David A. Mellis 2009-09-26 16:54:50 +00:00
parent e814744504
commit 650dc075a4

View File

@ -26,7 +26,7 @@ void setup() {
void loop() {
// 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:
digitalWrite(thisPin, HIGH);
delay(timer);