Hi guys,
I have 2 motors connected to Arduino Leonardo and I have connected a BT HC-06. The code works perfectly when I fed to Arduino with the USB cable, but when I remove the cable and feed it with a 9v battery, makes the connection with the phone, but doesnt do anything. I'm working with Serial1 of Leonardo, but I dont know if this function only works if it connected to the PC or not but I want to use the Arduino and the HC-06 with my phone and without having connected to the PC. Thank you for your attention.
Greetings!