mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Fixing small typo in for-loop example.
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user