We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71446b2 commit d674d96Copy full SHA for d674d96
README.md
@@ -212,31 +212,39 @@ SoftwareSerial BTserial(2, 3); // BT_TX | BT_RX
212
void setup()
213
214
{
215
+
216
Serial.begin(9600);
217
218
Serial.println("Enter AT commands:");
219
220
// HC-06 default serial speed is 9600
221
222
BTserial.begin(9600);
223
224
}
225
226
void loop()
227
228
229
230
// Keep reading from HC-06 and send to Arduino Serial Monitor
231
232
if (BTserial.available())
233
234
235
236
Serial.write(BTserial.read());
237
238
239
240
// Keep reading from Arduino Serial Monitor and send to HC-06
241
242
if (Serial.available())
243
244
245
246
BTserial.write(Serial.read());
247
248
249
250
0 commit comments