AnsweredAssumed Answered

problem writting 2d arrays into SD card

Question asked by Arun Kumar on May 16, 2015
Latest reply on May 17, 2015 by Arun Kumar

Hey guys,


I am having some problem writing 2D arrays into SD card.

Please consider the following example:


int16 Ringbuf[5][2] = { {0,0}, {1,2}, {2,4}, {3,6},{4,8}};


FAT1_f_printf(&fs,"%d,",Ringbuf[0,0);     //random garbage is being written to file here.




Any idea why this is happening?

I am using MK60MOVLQF15 CPU