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:
parent
e814744504
commit
650dc075a4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user