We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89a0b8 commit c8a939aCopy full SHA for c8a939a
apps/bthome_button/app.js
@@ -21,7 +21,7 @@ function updateAdvertising(buttonState) {
21
},
22
]), {
23
name : "Sensor",
24
- interval: buttonState?20:2000, // fast when we have a button press, slow otherwise
+ interval: buttonState?100:2000, // fast when we have a button press, slow otherwise
25
// not being connectable/scannable saves power (but you'll need to reboot to connect again with the IDE!)
26
//connectable : false, scannable : false,
27
});
0 commit comments