void setup() {
// array of GPIO pins
int ledPins[] = {15, 2, 4, 5};
int numLeds = 4;
int i = 0;
for (i=0; i < numLeds; i++) {
pinMode(ledPins[i], OUTPUT);
}
// Initialize each GPIO pin as an output and turn on the LED
for (i = 0; i < numLeds; i++) {
digitalWrite(ledPins[i], HIGH);
delay(500);
}
// Initialize each GPIO pin as an output and turn on the LED
for (i = 3; i >= 0; i--) {
digitalWrite(ledPins[i], LOW);
delay(500);
}
}
void loop() {
// No code needed in the loop for this example
}
esp:VIN
esp:GND.2
esp:D13
esp:D12
esp:D14
esp:D27
esp:D26
esp:D25
esp:D33
esp:D32
esp:D35
esp:D34
esp:VN
esp:VP
esp:EN
esp:3V3
esp:GND.1
esp:D15
esp:D2
esp:D4
esp:RX2
esp:TX2
esp:D5
esp:D18
esp:D19
esp:D21
esp:RX0
esp:TX0
esp:D22
esp:D23
led1:A
led1:C
led2:A
led2:C
led3:A
led3:C
led4:A
led4:C