I did.... Thanks...
Here's Mine...
/*
Hook yo WiFi & Blinky
*/
#include <WiFi.h>
const char* ssid = "WiFi Surveillance Van"; // Change this to your WiFi SSID
const char* password = "KeepOffMyLan"; // Change this to your WiFi password
int leds[] = { LED_BUILTIN, 14, 15, 16 };
int i = 0;
void setup() {
// put your setup code here, to run once:
for (int p : leds) pinMode(p, OUTPUT);
digitalWrite(leds, HIGH); // LED Orange ON
delay(1000); // chill for 1 sec.
Serial.begin(115200);
while(!Serial){delay(100);}
// We start by connecting to a WiFi network
Serial.println();
Serial.println("******************************************************");
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
digitalWrite(leds, LOW); // turn Orange LED off (LOW is the voltage level)
delay(1000); // chill for 1 sec.
Serial.println(" ->");
}
void loop() {
// put your main code here, to run repeatedly:
for (int p : leds) digitalWrite(p, LOW);
// next LED
i = (i + 1) % 4;
delay(1000);
// turn next on
digitalWrite(leds, HIGH);
Serial.println(i);
delay(2000);
}