Description: example for usb interface in C18, it was compiler with MPLAB & C18 C compiler.
Based on device: PIC18F2550 & PIC18F4550
File list (Check if you may need any files):
--example 4 - PIC USB demo\PIC USB - Hardware.gif
..........................\........demo - Microchip USB Driver\Ioctls.h
..........................\...................................\mchpusb.cat
..........................\...................................\mchpusb.inf
..........................\...................................\mchpusb.NMS
..........................\...................................\mchpusb.pdb
..........................\...................................\mchpusb.sys
..........................\...................................\README.txt
..........................\...................................\wdmstub.sys
..........................\PIC USB demo - Microchip USB Driver.zip
..........................\...............PC Code\PIC USB demo - PC Code\App.ico
..........................\......................\......................\AssemblyInfo.cs
..........................\......................\......................\bin\Debug\mpusbapi.dll
..........................\......................\......................\...\.....\WindowsApplication3.exe
..........................\......................\......................\...\.....\WindowsApplication3.pdb
..........................\......................\......................\PICusbdemo.csproj
..........................\......................\......................\PICusbdemo.csproj.user
..........................\......................\......................\PICusbdemo.sln
..........................\......................\......................\USBdemo.cs
..........................\......................\......................\USBdemo.resx
..........................\......................\......................\usb_interface.cs
..........................\......................\README.txt
..........................\PIC USB demo - PC Code.zip
..........................\................IC Code\picusbdemo\autofiles\usbcfg.h
..........................\.......................\..........\.........\usbdsc.c
..........................\.......................\..........\.........\usbdsc.h
..........................\.......................\..........\CleanUp.bat
..........................\.......................\..........\io_cfg.h
..........................\.......................\..........\main.c
..........................\.......................\..........\MCHPUSB.map
..........................\.......................\..........\MCHPUSB.mcp
..........................\.......................\..........\MCHPUSB.mcs
..........................\.......................\..........\MCHPUSB.mcw
..........................\.......................\..........\MCHPUSB.mptags
..........................\.......................\..........\MCHPUSB.tagsrc
..........................\.......................\..........\rm18f4550.lkr
..........................\.......................\..........\system\interrupt\interrupt.c
..........................\.......................\..........\......\.........\interrupt.h
..........................\.......................\..........\......\typedefs.h
..........................\.......................\..........\......\usb\class\generic\usbgen.c
..........................\.......................\..........\......\...\.....\.......\usbgen.h
..........................\.......................\..........\......\...\usb.h
..........................\.......................\..........\......\...\...9\usb9.c
..........................\.......................\..........\......\...\....\usb9.h
..........................\.......................\..........\......\...\...ctrltrf\usbctrltrf.c
..........................\.......................\..........\......\...\..........\usbctrltrf.h
..........................\.......................\..........\......\...\...defs\usbdefs_ep0_buff.h
..........................\.......................\..........\......\...\.......\usbdefs_std_dsc.h
..........................\.......................\..........\......\...\....rv\usbdrv.c
..........................\.......................\..........\......\...\......\usbdr