I have and arduino uno board with a USB Host Shield attached to it and I am taking inputs from a keyboard attached to the USB host shield.
My code is properly running on one board but when I switch to another arduino board with the same code the keyboard is not responding. I tried different combinations between the keyboard, the arduino and the usb shield but nothing seemed to be working.
I am powering the Arduino Uno with the USB Host Shield via USB. Upon init, only Start is written to the Serial Monitor and the test function shows that SetReportParser exits with 0. Yet different keyboards are silent. I've tried three keyboards, all of which work properly when connected to the computer.
I am running the USBHIDBootKbd example from the USB Host Shield 2.0 library.
As suggested here ( arduino uno - Uno r3 - Can't get USB Keyboards to work with an USB Host Shield - Arduino Stack Exchange ) I also tried to power everything from the power adapter but without results.
I really don't understand how it can be possible. Can it be a problem of addresses? Which are the differences from two arduino boards?
(I also tried other codes as led blink or writing on lcds and the two boards are working exactly the same...)
Thanks for the help