Page 1 of 1

Allcode command to open FA_CardOpen in c++

Posted: Thu Jan 05, 2017 9:03 pm
by Kjell Holen
What is the correct comand to open card?
I have treid:
status = 0;
status = FA_CardOpen(PortNumber, (unsigned char *) "fila");
FA_LEDWrite(PortNumber, status);
I appresiate if someone could help, used PC to create a file named fila.
Used LEDWrite to show status.
rgds Kjell

Re: Allcode command to open FA_CardOpen in c++

Posted: Thu Jan 05, 2017 9:38 pm
by Benj
Hello Kjell,

I'm assuming the file has a type e.g. fila.txt.

In this case you would use the command as follows.

status = FA_CardOpen(PortNumber, (unsigned char *) "fila.txt");

Re: Allcode command to open FA_CardOpen in c++

Posted: Fri Jan 06, 2017 11:14 am
by Kjell Holen
Thanks