SerialUSB, external interrupts and RingBuffer

ard_newbie:
Ok

Whenever you have to debug a software, begin small and progress baby step by baby step...

We have done so.

  • We know we can send and receive data carrectly.
  • We know the buffers save correctly, and that pop and push works as expected.
  • We have played songs on the speakers (but since we a re limited to the PROGMEM or RAM, we can only play a couple of seconds this way.). The sound is fine.
  • All of this has also been tested with the mux in the mix.

This issue right now is that it works, just to slowly. When we try to play and load data at the same time. I wounder if it, given the Arduino DUE is an impossible task, geven it's performance.