Nodemcu code:
/*
code started
Water Pump Control
#define Relay1 = D0
code created by innovative ideas yt https://youtube.com/c/InnovativeIdeasyt
*/
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "____";//YourAuthToken
char ssid[] = "_____";// YourNetworkName
char pass[] = "____";//YourPassword
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
0 Comments