Microchip Technology DV164139 数据表

下载
页码 54
Low Pin Count USB Development Kit User’s Guide
DS41356B-page 12
© 2009 Microchip Technology Inc.
6.
Navigate to C:\Microchip Solutions\Microchip\Include\Usb and 
copy the following files:
a) usb.h
b) usb_ch9.h
c) usb_common.h
d) usb_device.h
e) usb_function_hid.h (file defines components specific to the HID class)
f)
usb_hal.h
g) usb_hal_pic18.h (file defines components specific to the PIC18 
architecture)
7.
Next, navigate to C:\Microchip Solutions\Microchip\Usb and copy the 
following file:
a) usb_device.c
8.
Next, navigate to 
C:\Microchip Solutions\Microchip\Usb\HID
 Device Driver to 
copy the HID specific source file:
a) usb_function_hid.c
9.
Finally, navigate to C:\MCC18\lkr and copy the 18f14k50.lkr linker file.
10. Click Next>Finish to exit the project wizard. The Project window should now 
resemble Figure 2-2.
FIGURE 2-2:
PROJECT WINDOW FOR LAB 1
If the project window isn’t open in the MPLAB IDE workspace, select View> Project.
Next the MPLAB IDE will need to be configured for the Framework by directing the C18 
compiler to the associated file locations. 
11. In the MPLAB IDE, select Project>Build Options…>Project. The Build Options 
dialog will appear (Figure 2-3).