From bae7d787fef915e4063884f50795423774075603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Grome=C5=A1?= Date: Sat, 22 Sep 2018 17:49:23 +0200 Subject: [PATCH] [JDY08] Fixed incorrect variable name --- examples/JDY08/JDY08.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/JDY08/JDY08.ino b/examples/JDY08/JDY08.ino index d5415f4d..6bead99d 100644 --- a/examples/JDY08/JDY08.ino +++ b/examples/JDY08/JDY08.ino @@ -22,11 +22,11 @@ void loop() { // JDY08 supports all methods of the Serial class // read data incoming from Serial port and write them to Bluetooth while (Serial.available() > 0) { - bluetooth.write(Serial.read()); + ble.write(Serial.read()); } // read data incoming from Bluetooth and write them to Serial port while (bluetooth.available() > 0) { - Serial.write(bluetooth.read()); + Serial.write(ble.read()); } }