I want to create a simple sketch to turn on and off the LED on an Arduino Uno board. I used a button and BlueTooth widgets in Blynk. I managed to connect to HC 05 but nothing happened when I tried to switch on and off the LED. Any suggestions?
Thanks
#define BLYNK_PRINT Serial
#include <BlynkSimpleSerialBLE.h>
#include <SoftwareSerial.h>
SoftwareSerial SwSerial(10, 11); // RX, TX
char auth[] = "bc9ff438445f4d3691a5c24377750dfb";
SoftwareSerial SerialBLE(10, 11); // RX, TX
void setup()
{
Serial.begin(9600);
SerialBLE.begin(9600);
Blynk.begin(SerialBLE, auth);
Serial.println("Waiting for connections...");
}
void loop()
{
Blynk.run();
}