[JDY08] Fixed incorrect variable name

pull/13/head
Jan Gromeš 2018-09-22 17:49:23 +02:00
rodzic 778b65360c
commit bae7d787fe
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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