From ffadf36040d103ed62c5e7281bdeb8ceedab7a8d Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 15 Feb 2026 17:46:03 +0530 Subject: Add the other digits and refactor the fancy 2 pin hack --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 6f621af..11ad99f 100644 --- a/src/main.c +++ b/src/main.c @@ -19,7 +19,10 @@ FUSES = { // Display interrupt // Timer 0 has lower priority than timer 1, so some ticks could get skipped on // interrupt starvation -ISR(TIM0_COMPA_vect, ISR_FLATTEN) { display_render(); } +ISR(TIM0_COMPA_vect, ISR_FLATTEN) { + // button_tick(); // Check button click + display_render(); +} // RTC interrupt ISR(TIM1_COMPA_vect, ISR_FLATTEN) { rtc_increment(); } -- cgit v1.3.1