![Cytron Technologies IFC-CP04 Скачать руководство пользователя страница 18](http://html.mh-extra.com/html/cytron-technologies/ifc-cp04/ifc-cp04_user-manual_2707004018.webp)
ROBOT . HEAD to TOE
Product User’s Manual – IFC-CP04
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved
16
e.
3
rd
step is to write program and load it. IFC comes with comprehensive function to
save program development time. Functions library will come with the interfacing card
in the form of header file (*.h) and object file (*.o). In order to call these functions,
particular header file and object file must be included under a project.
f.
Open MPLAB IDE (please ensure MPLAB C18 is being installed). User may follow
the step in chapter 6.2 of user’s manual for IFC-MB00 to open project named
“IFC_CP” for IFC Control Panel Card. Please note that the header file (iic.h and
iic_cp.h) and object file (iic.o and iic_cp.o) for IFC-MB00 and IFC-CP04 have to be
included in the project. If user did not use the provided sample source code,
“Sample.c”, user also needs to include card’s header file at the beginning of the
program. Figure shows the example to include header file, object file and card’s
header file.
g.
For those wanted to understand the program, please refer to c file named “Sample.c”
which is provided with this card.