C Call function - Vector Input

Create new topics, add your comment, remark, bugs...
Post Reply
Posts: 3
Joined: Sun Nov 20, 2011 9:00 am

C Call function - Vector Input

Post by philippe.1 » Mon Feb 06, 2012 7:10 pm

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests