hi,
Recently, I noticed the SD.h access to a file from MicroSD card is fast if it is at sequential reading, however, if the file pointer position is at 5000 bytes onwards then setting back the file pointer back and fore using "seek(0)" will be very slow.
This affected operation that required fast update, such as writing audio DAC signal, the seek() slowed down the MCP4725 setVoltage() and Wire.write() API.
Due to Arduino Nano only has 2kB RAM and 32kB flash, it is quite difficult to fit audio data into memory, the same time need to concern about program allocation size.
Anyone suggestion, you are welcome to share your recommendation here.
Thank you.