PDA

View Full Version : USB HID Problem



Gitchie
- 20th January 2011, 02:04
Hello All,

Working on a project for a few weeks now and I'm stuck on a USB HID Problem that I hope somebody can help me out with...

Using a PIC18F2550 with a 20MHz Osc. Using the EasyHID program, which shows as a HID Device in Windows and Linux. I continue on modifying the code from EasyHID and try to make it send the keyboard letter "q". So I set the USBBuffer to 0,0,$14,0,0,0,0,0.

Now it errors and disconnects the device.

Am I missing something that needs to be changed??

Cheers for your help

Gitchie
- 20th January 2011, 15:15
So I figured out what was wrong - I need to setup the Descriptors properly...

Anybody have a working version I can cut and paste??

In the mean time - wish me luck reading the USB Specs and expect more question shortly