Forum >USB Host Shield getting started help
ArduinoGeneral

USB Host Shield getting started help

userHead jackdub07 2012-01-09 17:47:00 5107 Views3 Replies
i have just purchased a DFRobot USB Host Shield plugged into an Arduino UNO .. its the latest version, came with the headers already attached ..

i've downloaded the Felis USB 1.0 and the 2.0, copied the folders to the libraries folder of Arduino ..

when i open the provided examples, i can't seem to upload them to my arduino .. keep getting the error that BYTE can't be used in arduino 1.0 ..

can someone point me in the direction of an online tutorial or example that works right out of the box ? .. really i'd be happy with something simple like i can plug in a mouse, move it, and the data being sent by the mouse appears in a window on my computer ..

thanks for any help

jack
2012-01-09 22:20:40 Hi Jack,


No problem, just keep it in mind, it will be a while before these library compatabilities issues get solved, everyone is slowly updating their own, so if you are having trouble with some libraries in IDE 1.0 this is likely the cause. You should read-up on the differences in IDE 1.0 so you know how to identify these issues.


Anyways, if you look at the git repository for the USB Host library, it should be updated to IDE 1.0, but I haven't tried it myself... Cheers!
userHeadPic Hector
2012-01-09 19:29:07 i loaded the arduino022, now the examples are compiling and i'm getting response from my usb mouse plugged into the host .. you have pointed me in the right direction..

thanks Hector  :D
userHeadPic jackdub07
2012-01-09 18:24:15 Hi Jack,


Have you checked the [size=78%][url=http://www.circuitsathome.com/]http://www.circuitsathome.com/[/url][/size] website? It has lots of information on the USB host. If you can not get the program to compile in Arduino IDE 1.0, I suggest you try using Arduino IDE 0022. The libraries have not been updated for the new IDE.
userHeadPic Hector