From a7578327e890eb8ae9f9d78af812b232f16041f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Grome=C5=A1?= Date: Sat, 22 Sep 2018 18:49:27 +0200 Subject: [PATCH] [JDY08] Fixed incorrect variable name --- examples/JDY08/JDY08.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/JDY08/JDY08.ino b/examples/JDY08/JDY08.ino index 6bead99d..41dcec0e 100644 --- a/examples/JDY08/JDY08.ino +++ b/examples/JDY08/JDY08.ino @@ -26,7 +26,7 @@ void loop() { } // read data incoming from Bluetooth and write them to Serial port - while (bluetooth.available() > 0) { + while (ble.available() > 0) { Serial.write(ble.read()); } }