SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 1 match

 Go to advanced search

Re: Cannot Pair HC-08

 by jerxx94 ¦  Thu Nov 16, 2017 4:43 pm ¦  Forum: Bluetooth ¦  Topic: Cannot Pair HC-08 ¦  Replies: 8 ¦  Views: 7220

Hi, Upload this code and you'll be able to send AT commands. void setup() { // initialize both serial ports: Serial.begin(9600); Serial1.begin(9600); } void loop() { // read from port 1, send to port 0: if (Serial1.available()) { int inByte = Serial1.read(); Serial.write(inByte); } // read from port...