Skip to content

Commit d6afd8b

Browse files
sandeepmistrySidLeung
authored andcommitted
Remove unnecessary delays from peripheral explorer example
1 parent d2cc672 commit d6afd8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libraries/CurieBLE/examples/central/peripheral_explorer/peripheral_explorer.ino

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void exploreCharacteristic(BLECharacteristic characteristic) {
125125
if (characteristic.canRead()) {
126126
// read the characteristic value
127127
characteristic.read();
128-
delay(1000);
128+
129129
if (characteristic.valueLength() > 0)
130130
{
131131
// print out the value of the characteristic
@@ -150,7 +150,6 @@ void exploreDescriptor(BLEDescriptor descriptor) {
150150

151151
// read the descriptor value
152152
descriptor.read();
153-
delay(1000);
154153

155154
// print out the value of the descriptor
156155
Serial.print(", value 0x");

0 commit comments

Comments
 (0)