mikroC - C Compiler for Microchip PIC microcontrollers
Cf_Write_Byte
Prototype
void Cf_Write_Byte(char data);
Description
Writes one byte (
Requires
CF must be initialized for write operation. See
Example
Cf_Write_Byte(100);
Cf_Write_Word
Prototype
void Cf_Write_Word(int data);
Description
Writes one word (
Requires
CF must be initialized for write operation. See
Example
Cf_Write_Word(1000);
Cf_Find_File
Prototype
void Cf_Find_File(char find_first, char *file_name);
Description
Routine looks for files on CF card. Parameter
non-zero, routine looks for the first file on card, in order of physical writing. Otherwise,
routine "moves forward" to the next file from the current position, again in physical
order. If file is found, routine writes its name and extension in the string
no file is found, the string will be filled with zeroes.
Requires
Ports must be initialized. See
Example
Cf_Find_File(1, file);
if (file[0] <> 0) { ... // if first file found, handle it
page
166
) to CF. All 512 bytes are transferred to a buffer.
data
) to CF. All 512 bytes are transferred to a buffer.
data
.
Cf_Init
MikroElektronika: Development tools - Books - Compilers
.
Cf_Write_Init
.
Cf_Write_Init
can be non-zero or zero; if
find_first
mikroC
making it simple...
. If
file_name
Need help?
Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?