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
Allcode command to open FA_CardOpen in c++
-
- Posts: 7
- Joined: Sun Apr 24, 2016 2:32 am
- Been thanked: 2 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Allcode command to open FA_CardOpen in c++
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");
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");
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 7
- Joined: Sun Apr 24, 2016 2:32 am
- Been thanked: 2 times