Page 1 of 1

C Call function - Vector Input

Posted: Mon Feb 06, 2012 7:10 pm
by philippe.1
Hi Lubin,

I am trying to write a data vector on a SD card by calling a C function.
I have been writing this but it's not dealing with the array:

unsigned char sd_write(unsigned int Input){
char y1;
y1 = FSfprintf(datafile, "%u%c%c",Input, 0x0D, 0x0A);
}

Could you tell me the right syntax to deal with the array please?
Thanks
Philippe