File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,9 +211,9 @@ class OneButton {
211211 #endif
212212
213213 int16_t _pin; // hardware pin number.
214- uint16_t _debounceTicks = 50 ; // number of ticks for debounce times.
215- uint16_t _clickTicks = 400 ; // number of ticks that have to pass by before a click is detected.
216- uint16_t _pressTicks = 800 ; // number of ticks that have to pass by before a long button press is detected
214+ uint16_t _debounceTicks = 20 ; // 50; // number of ticks for debounce times.
215+ uint16_t _clickTicks = 200 ; // 400; // number of ticks that have to pass by before a click is detected.
216+ uint16_t _pressTicks = 400 ; // 800; // number of ticks that have to pass by before a long button press is detected
217217
218218 // These variables that hold information across the upcoming tick calls.
219219 // They are initialized once on program start and are updated every time the
You can’t perform that action at this time.
0 commit comments