I have a recently purchased Arduino Leonardo and Sparkfun 9947 (MAX3421E-based) USBhost shield and can't seem to get it to do much. I'm using Arduino 1.6.11 and I've installed the USBhost shield library 2.0 v1.5.0.
First I tried the USBHIDBootKbd example, but while it starts, it doesn't respond to keypresses on keys. I've read that this may be caused by not providing enough power to the keyboard.
I then tried the USB_desc example with a few tiny USB devices (e.g. thumb drives) and learned that it never gets past the 'is running':
void loop()
{
Usb.Task();
if ( Usb.getUsbTaskState() == USB_STATE_RUNNING )
{
I don't know if this example is looking for a USB hub or something? I've tried adding a jumper across pin 7 and RST like some random pages say, but it makes no difference.
Is there a simple diag example that I could use to see how far it's getting? Alternatively, is this not the recommended library for this board?