Default to timer based interrupt

This commit is contained in:
Imbus 2024-04-02 23:30:57 +02:00
parent ff0d24dcd3
commit f5750bee33

5
main.c
View file

@ -87,10 +87,9 @@ int main(void) {
// Configure the LED pin as an output // Configure the LED pin as an output
DDRB |= _BV(LED_PIN); DDRB |= _BV(LED_PIN);
// Choose one (or both)
// configure_interrupt(); // configure_interrupt();
// configure_ovf_interrupt(); configure_ovf_interrupt();
configure_external_interrupt(); // configure_external_interrupt();
// Set the watchdog timer to 8 seconds // Set the watchdog timer to 8 seconds
// wdt_enable(WDTO_8S); // wdt_enable(WDTO_8S);