I’ve been working in a project involving bluetooth, but for the last two weeks i’ve been having some trouble. I am using an Arduino Leonardo (pro micro). Searching on how to configure it, I’ve come to this code:
SoftwareSerial BTSerial(1, 0); // RX | TX
Serial.println(“Enter AT commands:”);
BTSerial.begin(38400); // HC-05 default speed in AT command more
// Keep reading from HC-05 and send to Arduino Serial Monitor
// Keep reading from Arduino Serial Monitor and send to HC-05
The problem i have is that when i am on the serial screen, i enter the first AT command so i enter AT, and it should answer OK, but i get no answer.
Thanks if you can help