Hey guys,
I am having some problem writing 2D arrays into SD card.
Please consider the following example:
[code]
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.
[/code]
Any idea why this is happening?
I am using MK60MOVLQF15 CPU
Thanks,
Arun