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());
   }
 }