Module:file

From NESI Wiki
Jump to: navigation, search

The file I/O software module allows the user to access the 3 available files from the SD card

Contents

Objects

Programs running on the NESI board can access the file I/Os via the file1, file2, and file3objects. They can be accessed using the following form.

file[X].{function}

Functions

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

Dependencies

The file I/O software module depends on the following NESI code modules.

Download

Click here to download the NESI file I/O software module.

Installation

Extract the contents of the zip file to the same directory as your main.c file.

Personal tools
Namespaces

Variants
Actions
Navigation
Getting Help
Toolbox