shorter button flipping test
This commit is contained in:
parent
542a921e3f
commit
6e67d1415c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ ISR(INT4_vect)
|
||||||
if(BUTTON_CHECK_IRQ()) {
|
if(BUTTON_CHECK_IRQ()) {
|
||||||
if(timer_expired(&debouncetimer)) {
|
if(timer_expired(&debouncetimer)) {
|
||||||
// led1_on();
|
// led1_on();
|
||||||
timer_set(&debouncetimer, CLOCK_SECOND / 4);
|
timer_set(&debouncetimer, CLOCK_SECOND / 8);
|
||||||
sensors_changed(&button_sensor);
|
sensors_changed(&button_sensor);
|
||||||
// led1_off();
|
// led1_off();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue