VCC → 5V GND → GND SDA → A4 SCL → A5
#include <WiFi.h>
const char* ssid = "your_ssid";
const char* password = "your_password";
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to WiFi...");
}
Serial.println("Connected to WiFi");
}
void loop() {
// your code here
}
Отзывов пока нет. Будьте первым!