ESP32WIFI&BLUETOOTH AUTOMATION
ESP32 WIF AND BLUETOOTH AUTOMATION PROJECT ESP32WIFI &BLUETOOTH APP https://drive.google.com/file/d/1z-R4FT0b_K4UCcvJO7Imk8fGrJe8UETx/view?usp=sharing ARDUINO SKETCH FOR THE ABOVE PROJECT #define BLYNK_PRINT Serial #include <BlynkSimpleEsp32.h> // https://github.com/blynkkk/blynk-library #include "BluetoothSerial.h" // https://github.com/espressif/arduino-esp32/tree/master/libraries/BluetoothSerial #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it #endif BluetoothSerial SerialBT; int bluedata; // variable for storing bluetooth data int relay1 = 18; //GPIO PI N 18 IS ASSIGNED AS VARIABLE NAME RELAY1-1 int relay2 = 19; //GPIO PI N 19 IS ASSIGNED AS VARIABLE NAME RELAY1-2 int relay3 = 21; //GPIO PI N 21 IS ASSIGNED AS VARIABLE NAME RELAY1-3 int relay4 = 22; //GPIO PI N 22 IS ASSIGNED AS VARIABLE NAME RELAY1-4 int relay5 = 23; //GPIO PI N 23 IS ASSIGNED AS VARIABLE NAME