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
1 changed files with 1 additions and 1 deletions

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);