hi guys, i have problem with acessing at-command in module hc-05.
i just follow all tutorial to activate at-command like this,
http://www.martyncurrey.com/arduino-with-hc-05-bluetooth-module-in-slave-mode/
or in this video
and just read some expalanation and implemented to my problem
but i just still get same error. i cant use AT+INQ command, always get ERROR(1F).
AT+INIT get ERROR(17).
This is i use code
#include <SoftwareSerial.h>
//Change these to whatever pins you're using
SoftwareSerial blueSerial(8, 9); // RX, TX
void setup()
{
Serial.begin(9600);
blueSerial.begin(38400);
pinMode(9, OUTPUT);
digitalWrite(9, HIGH);
}
void loop()
{
if (blueSerial.available())
{
Serial.write(blueSerial.read());
}
if (Serial.available())
{
blueSerial.write(Serial.read());
}
}