User manual
398
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
Mmc_Fat_Rewrite
Mmc_Fat_Append
Mmc_Fat_Delete
Prototype
sub procedure Mmc_Fat_Rewrite()
Description Opens the currently assigned le for writing. If the le is not empty its content will be erased.
Parameters None.
Returns Nothing.
Requires MMC/SD card and MMC library must be initialized for le operations. See Mmc_Fat_Init.
The le must be previously assigned. See Mmc_Fat_Assign.
Example
‘ open le for writing
Mmc_Fat_Rewrite()
Notes None.
Prototype
sub procedure Mmc_Fat_Append()
Description Opens the currently assigned le for appending. Upon this function execution le pointers will be
positioned after the last byte in the le, so any subsequent le write operation will start from there.
Parameters None.
Returns Nothing.
Requires MMC/SD card and MMC library must be initialized for le operations. See Mmc_Fat_Init.
The le must be previously assigned. See Mmc_Fat_Assign.
Example
‘ open le for appending
Mmc_Fat_Append()
Notes None.
Prototype
sub procedure Mmc_Fat_Delete()
Description Deletes currently assigned le from MMC/SD card.
Parameters None.
Returns Nothing.
Requires MMC/SD card and MMC library must be initialized for le operations. See Mmc_Fat_Init.
The le must be previously assigned. See Mmc_Fat_Assign.
Example
‘ delete current le
Mmc_Fat_Delete()
Notes None.