We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc15b5f commit 1d2fad0Copy full SHA for 1d2fad0
libraries/BluetoothSerial/examples/SerialToSerialBT_SSP/SerialToSerialBT_SSP.ino
@@ -97,12 +97,12 @@ void BTAuthCompleteCallback(boolean success){
97
98
void serial_response(){
99
if (Serial.available()){
100
- SerialBT.write(Serial.read());
101
- }
102
- if (SerialBT.available()){
103
- Serial.write(SerialBT.read());
104
105
- delay(20);
+ SerialBT.write(Serial.read());
+ }
+ if (SerialBT.available()){
+ Serial.write(SerialBT.read());
+ delay(20);
106
}
107
108
void setup(){
0 commit comments