Implement ISR for stop_blink
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user