Content originally posted in LPCWare by brentsinger on Thu Jul 08 00:16:13 MST 2010
Hi All,
I'm a bit of a newb trying to hack together a HID application, polling sensors and sending their data over USB to a Visual Basic program for quick dirty display. I'm trying to use the 'usbhid_rom' example program and I can only transmit one byte at a time.
The strange thing is that I can't figure out why there is a variable 'length' and 'src[]' is an array, bot just a single byte. It seems that it is built to send more than one character.
I guess the question is: what is going on in the ROM? Can we see the source somewhere? or even just the declaration of src[] would be good.
Thanks in advance for your help,
Brent, Sydney, Australia.