shorter button flipping test

This commit is contained in:
Harald Pichler 2016-08-12 07:46:30 +02:00
parent 542a921e3f
commit 6e67d1415c

View file

@ -27,7 +27,7 @@ ISR(INT4_vect)
if(BUTTON_CHECK_IRQ()) {
if(timer_expired(&debouncetimer)) {
// led1_on();
timer_set(&debouncetimer, CLOCK_SECOND / 4);
timer_set(&debouncetimer, CLOCK_SECOND / 8);
sensors_changed(&button_sensor);
// led1_off();
}