Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello,
I would like to sample audio and store the samples in the LocalFilesystem using fwrite. The sampling will be triggered by using the Ticker class with a cycle time of 150 usec. Every time I take a sample I put the sample to the AnalogOut pin (p18), so with an impedance converter and an earpone I can listen to the audio stream. But unfortunately the audio stream will be interrupted everytime one of the two internal buffer is writen to the LocalFileSystem. This looks like the fwrite is not interruptable.
But some other threads here talk about an interruptable LocalFilesystem.
So my question is: Is the LocalFilesystem interruptable or not, or how can I find this out.
Hans