kopia lustrzana https://github.com/jgromes/RadioLib
[JDY08] Fixed incorrect variable name
rodzic
778b65360c
commit
bae7d787fe
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue