Hello all. I am trying to record or monitor usb keyboard inputs from the onboard USB host on a Mega ADK Arduino board. I downloaded and attempted to compile a sketch that utilizes the USBHostShield2 library. I recieve several errors that seem to suggest that the library may not truly support the code I am using. I get an error message saying "EP_RECORD does not name a type" as well as several that look like this: "C:\Users\Name\Desktop\arduino-1.0.2\libraries\USBHostShield2/printhex.h:30: error: 'Serial' was not declared in this scope"
I did import the library, but am not sure why it wont compile...any ideas? I am using Arduino 1.0.2 IDE if that helps. I read that this version should be compatible with my board. It seems I've seen other sketches that don't use the EP_RECORD type at all.
could you post your sketch?