Circuit Diagram
pin connection
- Negative of led -- Gnd
- Positive of led -- gp23
blynk app
To download the click here
NOTE:
"enter your wifi-name and password and your blynk auth in the code"
code
#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
SimpleTimer timer;
char auth[] = "BLYNK AUTH";
char ssid[] = "wifi-name";
char pass[] = "password";
void setup()
{
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
timer.run();
}
youtube tutorial:
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment