//define pin
const int LEDGREEN = 7;
const int LEDRED = 6 ;
#define BLYNK_TEMPLATE_ID "TMPL28JhjA9Vj"
#define BLYNK_TEMPLATE_NAME "WATER LEAKAGE DETECTION"
#define BLYNK_AUTH_TOKEN "kHxIUPVrzoOfWj-XFH5Zy6s5hiIxqoVF"
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
char auth [] = BLYNK_AUTH_TOKEN;
char ssid [] =
char pass [] = kHxIUPVrzoOfWj-XFH5Zy6s5hiIxqoVF
BlynkTimer;
void setup() {
pinMode(LEDGREEN, OUTPUT);
pinMode (LEDRED, OUTPUT);
Serial.begin(1000);
// put your setup code here, to run once:
}
void loop() {
digitalWrite(LEDGREEN, HIGH);
delay(1000);
digitalWrite(LEDGREEN, LOW);
digitalWrite(LEDRED, HIGH);
delay(1000);
digitalWrite(LEDRED, LOW);
}
// put your main code here, to run repeatedly: