Hi,
When I type 'AT', HM-10 responds 'AT', if I change the mode (No Line Ending, NL, CR, Both NR & CR), it responds 'A' and weird character. I'm testing iBeacon with UNO board and HM-10. How can I solve this problem? Please help. The following is the source code.
#include <SoftwareSerial.h>
SoftwareSerial BTSerial(0, 1);
void setup(){
Serial.begin(9600);
BTSerial.begin(9600);
while(!Serial);
Serial.println("AT commands: ");
}
void loop(){
if(BTSerial.available())
Serial.write(BTSerial.read());
if(Serial.available())
BTSerial.write(Serial.read());
}
Thanks,