Led 2
Led 2
h>
void setup() {
// Start the Bluetooth serial communication
BTSerial.begin(9600);
void loop() {
// Check if any data is available from the Bluetooth module
if (BTSerial.available()) {
char command = BTSerial.read(); // Read the incoming data