Implement ISR for stop_blink

This commit is contained in:
2025-12-31 22:10:40 +01:00
parent 0a689d83b6
commit 9ef5eb4698
+4
View File
@@ -8,6 +8,10 @@
.global main
isr_stop_blink:
rcall stop_blink ; Turn off PB0 when TCNT0=OCF0A
reti ; Exit interrupt
main:
;cbi DDRB, PB1 ; Set EC11 clockwise on PB5 as input
;cbi DDRB, PB2 ; Set EC11 counter-clockwise on PB3 as input