fprintf formatting problem

Surprisingly enough, '\n' and '\n\r' doesn't work with fprintf on mbed. I'm trying to write some nice formatted data into SD card. This "carriage return" and "line feed" give me an hour headache. My solution for this is the following:

         fprintf("Carriage Return %c, Line Feed %c", 13, 10);


Please log in to post comments.