The example I uploaded, sets an IRQ to load more sound data for the AFLOW interupt using the macptr....
this works while I just infinate loop the "main" code, but what is going on when returning to basic?
in theory, it should load more audio data as needed from IRQ.
is macptr not usable in an interupt?
upload contains "WORK.PRG", "NOWORK.PRG", and sdcard....
*warning - NOWORK.PRG causes static noise!!! - headphone warning!!
this is in Prog8...
working:
Code: Select all
sub start() {
stream_audio()
repeat {}
}
Code: Select all
sub start() {
stream_audio()
; repeat {}
}
Thanks