LocalFileSystem and Interrupts

18 Dec 2010

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