The file I/O software module allows the user to access the 3 available files from the SD card
Programs running on the NESI board can access the file I/Os via the
file3objects. They can be accessed using the following form.
The following functions make up the NESI LED software module.
- open - opens the file in read/write append mode
- close - closes the file
- write - writes data to the file
- read - reads data from the file
- free - allows the file to be used by others
The file I/O software module depends on the following NESI code modules.
Click here to download the NESI file I/O software module.
Extract the contents of the zip file to the same directory as your main.c file.