circuit diagram
pin connection
- gnd -- Gnd
- vcc -- 5v
- in1 --gpio21
- in2 --gpio22
- in3 --gpio25
- in4 --gpio26
#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
char auth[] = "blynk auth";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "wifiName";
char pass[] = "wifi-password";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
youtube tutorial:
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment