Hello
I want to buy a usb host shield for my UNO R2 to use in my RC car project..
What shield would you recomend?
Thank you.
-Gunnlaugur
Hello
I want to buy a usb host shield for my UNO R2 to use in my RC car project..
What shield would you recomend?
Thank you.
-Gunnlaugur
What shield would you recomend?
I've only heard of one:
Thank you
See here :-
http://forum.arduino.cc/index.php?topic=73735.0
I got my shield now and installed the USB Host Shield library Version 2.0 like is explained in How to include the library here GitHub - felis/USB_Host_Shield_2.0: Revision 2.0 of USB Host Library for Arduino..
When I open up the board_qc example and hit compile I get the following errors,
board_qc:24: error: ‘USB_DEVICE_DESCRIPTOR’ does not name a type
board_qc:27: error: ‘USB’ does not name a type
board_qc.ino: In function ‘void setup()’:
board_qc:34: error: ‘E_Notify’ was not declared in this scope
board_qc:39: error: ‘Usb’ was not declared in this scope
board_qc:39: error: ‘rREVISION’ was not declared in this scope
board_qc:62: error: ‘Usb’ was not declared in this scope
board_qc:62: error: ‘rGPINPOL’ was not declared in this scope
board_qc:89: error: ‘Usb’ was not declared in this scope
board_qc:109: error: ‘Usb’ was not declared in this scope
board_qc:109: error: ‘rUSBIRQ’ was not declared in this scope
board_qc:109: error: ‘bmOSCOKIRQ’ was not declared in this scope
board_qc:118: error: ‘Usb’ was not declared in this scope
board_qc:118: error: ‘rUSBCTL’ was not declared in this scope
board_qc:118: error: ‘bmCHIPRES’ was not declared in this scope
board_qc:119: error: ‘rUSBIRQ’ was not declared in this scope
board_qc:119: error: ‘bmOSCOKIRQ’ was not declared in this scope
board_qc:126: error: ‘rUSBIRQ’ was not declared in this scope
board_qc:126: error: ‘bmOSCOKIRQ’ was not declared in this scope
board_qc:141: error: ‘Usb’ was not declared in this scope
board_qc.ino: In function ‘void loop()’:
board_qc:151: error: ‘Usb’ was not declared in this scope
board_qc:155: error: ‘USB_DETACHED_SUBSTATE_WAIT_FOR_DEVICE’ was not declared in this scope
board_qc:156: error: ‘E_Notify’ was not declared in this scope
board_qc:158: error: ‘USB_ATTACHED_SUBSTATE_RESET_DEVICE’ was not declared in this scope
board_qc:161: error: ‘USB_ATTACHED_SUBSTATE_WAIT_SOF’ was not declared in this scope
board_qc:164: error: ‘USB_ATTACHED_SUBSTATE_GET_DEVICE_DESCRIPTOR_SIZE’ was not declared in this scope
board_qc:167: error: ‘USB_STATE_ADDRESSING’ was not declared in this scope
board_qc:170: error: ‘USB_STATE_RUNNING’ was not declared in this scope
board_qc:172: error: ‘USB_DEVICE_DESCRIPTOR’ was not declared in this scope
board_qc:172: error: ‘buf’ was not declared in this scope
board_qc:213: error: ‘USB_STATE_ERROR’ was not declared in this scope
board_qc.ino: In function ‘void halt55()’:
board_qc:227: error: ‘E_Notify’ was not declared in this scope
board_qc:232: error: ‘Usb’ was not declared in this scope
board_qc.ino: In function ‘void press_any_key()’:
board_qc:257: error: ‘E_Notify’ was not declared in this scope
I'm using Arduino 1.0.5 IDE, Ubuntu 12.04 LTS, my Uno is R2 and my USB host shield is DEV-09947 SparkFun USB-C Host Shield - DEV-21247 - SparkFun Electronics
Any idea why I'm running into this problem?
Thanks in advance for your time.
-Gunnlaugur
When I follow the directions on that site, I get only one "error" message:
Binary sketch size: 11,392 bytes (of a 32,256 byte maximum)
It looks like you didn't follow them close enough, or you didn't restart the IDE afterwards.
I went over my installation and found my library path to be wrong and now my "error" is same as yours.
Thank you PaulS!