Skip to content
Snippets Groups Projects
Commit 0faff174 authored by Nicolas Peugnet's avatar Nicolas Peugnet
Browse files

Decrease and remove useless delays

parent 2920320d
Branches main
No related tags found
No related merge requests found
......@@ -140,7 +140,6 @@ void loop() {
while (central.connected()) {
detectChanges();
delay(10);
}
} else {
digitalWrite(LED_BUILTIN, blink);
......@@ -163,7 +162,7 @@ void detectChanges() {
if (change != 0) {
// Delay a little bit to avoid bouncing
delay(100);
delay(60);
}
#ifdef SENSE_REV2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment