The microSD memory expansion features a data logging ability on the MiniOS7 based PACs. The microSD library can operate files on the microSD card that was previously formatted as the standard FAT file system. That means the program on the MiniOS7 based PACs can create a file and log data to the file. When the logging is completed, the user can take out the microSD card and then copy/open files in it to/on the PC.
FAT File System
The FAT file system is an old but very common file system. It can store a max. of 65517 files and the max. file size can be 2GB. Users can create files and then write/append data to it on the MiniOS7 base PACs. Then copy the file to a PC for post analysis when the data is complete logged.
C Language API
Following functions are similar to the functions that turbo C and Borland C provide. This helps users short the learning of using the microSD library.
pc_open, pc_close, pc_read, pc_write, pc_seek, pc_tell, pc_eof, pc_get_errno, pc_format, pc_del, pc_mkdir, pc_rmdir, ”K etc.