USBHost or BlueUSB best for keyboard handler?

05 Apr 2012

I am new to mbed and this is my first post (but second attempt!). I lost the first one whenI clicked the "Keep me updated via email" box before hitting Post. So I will try again.

I plan to connect a USB keyboard to the USB port (p31, p32). I need to identify every individual key press / release, preferably using interrupts, not polling.

I would appreciate any suggestions / comments on which of the programs I have found (or others I have not found) might be best for my use. The simpler the better, since I am coming from the C world and completely new to C++ and objects!

I have found http://mbed.org/users/peterbarrett1967/programs/USBHostShell/60bt0

and at least three separate BlueUSB programs:

http://mbed.org/users/joenagata/programs/BlueUSB/ln7v3z

http://mbed.org/users/meathome/programs/BlueUSB/lndr5s

http://mbed.org/users/peterbarrett1967/programs/BlueUSB/5yn1q/

I am guessing there are minor differences between the various BlueUSB programs but do not know if there is any way other than reading source code to determine what the differences might be.

Since my interest is in only a USB keyboard host, my guess is I should perhaps start with the USBHostShell.

Thanks,

Chuck, W5UXH

Las Cruces, NM