Change subroutines name
This commit is contained in:
+5
-2
@@ -13,8 +13,8 @@ main:
|
||||
;cbi DDRB, PB5 ; Set EC11 button (555 square wave) on PB4 as input
|
||||
ldi r26, 60 ; Default BPM //TODO: save to eeprom not register, on runtime also ldi on r24 register
|
||||
|
||||
rcall timer0_ld
|
||||
rcall timer1_ld
|
||||
rcall timer0_set
|
||||
rcall timer1_set
|
||||
|
||||
|
||||
; interrupts:
|
||||
@@ -37,6 +37,9 @@ loop:
|
||||
|
||||
;rcall midi_send ; Send MIDI ping
|
||||
|
||||
//FIXME: do this with interrupts. its much more efficient
|
||||
// remove the polling shit and move stop_blink or an ISR
|
||||
// check if need to change internal logic on led.inc
|
||||
; if midi clock then also do: rcall start_blink
|
||||
in r16, TIFR0 ; Read Interrupt Flag Register
|
||||
sbrs r16, OCF0A ; If timer status OCF0A=1 skip jump
|
||||
|
||||
Reference in New Issue
Block a user