I'm using the VS1053 Codec breakout board to record .ogg audio. The part of the library code in the main void loop() looks like this:
Code: Select all
void loop()
...
if (isRecording)
saveRecordedData(isRecording);
...
Can I do other stuff in the loop while the recording is going on? Something like this:
Code: Select all
void loop()
...
if (isRecording)
saveRecordedData(isRecording);
value = ADC_Read(A5);
if(value = 100)
do something;
...
How long can I wait before the recording buffer fills up and needs to be flushed? Can I increase the buffer size to put more code in the record loop?
Thanks