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.
I am trying to build a logger, this is a first trial with SD card. I can't figure out what is wrong with this very simple code. When I comment the loop, it writes one line to a card without problem. If I use the for loop, the file is created but stays empty; I have the same problem with USB memory. However it works on local file system.
Any idea?