Microchip Technology DV164139 Data Sheet

Page of 54
LOW PIN COUNT USB
DEVELOPMENT KIT
USER’S GUIDE
© 2009 Microchip Technology Inc.
DS41356B-page 9
2.1
INTRODUCTION
This section of the user’s guide will walk the user through a number of project labs that 
will ease the development of original USB design applications. Labs are formatted so 
that the user is guided through each project’s source code to uncomment or copy and 
paste sections of code. This format was chosen to force the developer to explore sig-
nificant sections of the Framework and familiarize themselves with the overall structure 
of the source files presented.
Lab files can be located in the folder C:\LPCUSBDK_Labs\Labx_files. Each lab 
folder will contain both the source files for the labs and a folder containing the solutions 
with working code.
Four labs are presented:
2.
Project Lab 2 (HID Mouse): This lab expands on concepts learned in Project Lab 
1 using the descriptors defined. The user will walk through the development of 
application specific functions within the mouse.c firmware file. The end applica-
tion will behave like a Human Interface Device Class (HID) mouse by moving the 
pointer on the PC screen.
3.
Project Lab 3 (HID Keyboard): In this lab the user is required to alter the descrip-
tors to implement a HID keyboard-based application. The potentiometer on the 
Low Pin Count USB Development Board is rotated to change the HID specifica-
tion unicode value transmitted through the USB to the PC that will print charac-
ters based on an ADC conversion.
4.
Project Lab 4 (CDC Serial Emulator): Finally, the user will implement a 
communication protocol converter using the Communication Device Class 
(CDC) driver. 
2.2
PREREQUISITES
These labs assume that the user:
1.
Has completed the self-directed course “Getting Started with Microchip’s Low 
Pin Count USB Solutions”
 provided on the accompanying CD.
2.
Is familiar with the MPLAB IDE and C18 compiler.
3.
Has some programming experience using the C language.
4.
Is familiar with Microchip’s PIC18F family of microcontrollers.
2.3
RESOURCES REQUIRED TO COMPLETE PROJECT LABS
In order to complete the Project Labs, the user should have:
1.
The most current version of the MPLAB IDE and C18 compiler installed on their 
PC. The MPLAB IDE can be found at: 
Chapter 2.  Getting Started Project Labs