Справочник Пользователя для Microchip Technology Universal Device Programmer DV007004 DV007004
Модели
DV007004
Tutorial
© 2006 Microchip Technology Inc.
DS51464C-page 31
3.10 CREATING CODE
Open the template file in the project by double clicking on its name in the Project
window (see Figure 3-11).
The file has some comments at the beginning, and this area can be used as a standard
comment information header for the file. For now, you’ll leave this as it is, but if this were
a real project, you could put information about your design here.
window (see Figure 3-11).
The file has some comments at the beginning, and this area can be used as a standard
comment information header for the file. For now, you’ll leave this as it is, but if this were
a real project, you could put information about your design here.
FIGURE 3-11:
TEMPLATE FILE
Scroll down to the bottom of the file.
The code in the first part of the file is for more advanced functions such as setting up
interrupts and Configuration bits in a final application. These details can be ignored at
this point with focus on writing the code. The new code will be placed in the file at the
point after the symbol Main is defined.
The code in the first part of the file is for more advanced functions such as setting up
interrupts and Configuration bits in a final application. These details can be ignored at
this point with focus on writing the code. The new code will be placed in the file at the
point after the symbol Main is defined.
FIGURE 3-12:
TEMPLATE FILE – MAIN