is handled, for debounce and ramp timing; PA1 irq is masked meanwhile. */ #include <avr/interrupt.h> #include <avr/io.h> #include <avr/sleep.h> #include <stdbool.h> #include <stdint.h> #define DEBOUNCE_TICKS 3u /**< ~23 ms stable level for press/release */ #define LONG_PRESS_TICKS 77u
in
„Lampe Timer deaktivieren“
·
Analoge Elektronik und Schaltungstechnik
·