teensy_noob
Member
I've managed to get audio and a bitmap running with no issues (now).
I was just wondering how I would now go about changing an image every 'N' seconds, whilst the audio is running?
It's probably something really basic I'm missing (I'm self taught), and I have tried things like running a while loop etc, but the image will only change on every loop rather than every 'N' seconds..
Is this something that in need to do with timers, as here:
https://learn.adafruit.com/multi-tasking-the-arduino-part-1/a-clean-sweep
Or, is there another way?
(I'm sort of out of my depth at this point.. I'm looking to run multiple tasks generally, not just for this combination).
Also, could I just add multiple audio ICs in the same manner, or would that require alternative coding?
Thanks in advance!
I was just wondering how I would now go about changing an image every 'N' seconds, whilst the audio is running?
It's probably something really basic I'm missing (I'm self taught), and I have tried things like running a while loop etc, but the image will only change on every loop rather than every 'N' seconds..
Is this something that in need to do with timers, as here:
https://learn.adafruit.com/multi-tasking-the-arduino-part-1/a-clean-sweep
Or, is there another way?
(I'm sort of out of my depth at this point.. I'm looking to run multiple tasks generally, not just for this combination).
Also, could I just add multiple audio ICs in the same manner, or would that require alternative coding?
Thanks in advance!