Member #585609

Member Since: August 15, 2014

Country: United States

  • It seems that these functions are not getting recognized. This might be because some missing header files. I believe if I include one or more particular header files which define these functions then this would work. Can someone tell me what is/are the header files I need to include?

  • Hi, I bought a board last week. To give it a kick start I downloaded the library USB_Host_Shield_20. When I compiled the code board_qc, to check the board, it gave me several errors:

    board_qc:17: error: 'USB_DEVICE_DESCRIPTOR' does not name a type
    board_qc:20: error: 'USB' does not name a type
    board_qc.ino: In function 'void setup()':
    board_qc:27: error: 'E_Notify' was not declared in this scope
    board_qc:31: error: 'Usb' was not declared in this scope
    board_qc:33: error: 'rREVISION' was not declared in this scope
    board_qc:56: error: 'rGPINPOL' was not declared in this scope
    board_qc:103: error: 'rUSBIRQ' was not declared in this scope
    board_qc:103: error: 'bmOSCOKIRQ' was not declared in this scope
    board_qc:112: error: 'rUSBCTL' was not declared in this scope
    board_qc:112: error: 'bmCHIPRES' was not declared in this scope
    board_qc:113: error: 'rUSBIRQ' was not declared in this scope
    board_qc:113: error: 'bmOSCOKIRQ' was not declared in this scope
    board_qc:120: error: 'rUSBIRQ' was not declared in this scope
    board_qc:120: error: 'bmOSCOKIRQ' was not declared in this scope
    board_qc.ino: In function 'void loop()':
    board_qc:144: error: 'Usb' was not declared in this scope
    board_qc:150: error: 'USB_DETACHED_SUBSTATE_WAIT_FOR_DEVICE' was not declared in this scope
    board_qc:151: error: 'E_Notify' was not declared in this scope
    board_qc:153: error: 'USB_ATTACHED_SUBSTATE_RESET_DEVICE' was not declared in this scope
    board_qc:156: error: 'USB_ATTACHED_SUBSTATE_WAIT_SOF' was not declared in this scope
    board_qc:159: error: 'USB_ATTACHED_SUBSTATE_GET_DEVICE_DESCRIPTOR_SIZE' was not declared in this scope
    board_qc:162: error: 'USB_STATE_ADDRESSING' was not declared in this scope
    board_qc:165: error: 'USB_STATE_RUNNING' was not declared in this scope
    board_qc:167: error: 'USB_DEVICE_DESCRIPTOR' was not declared in this scope
    board_qc:167: error: 'buf' was not declared in this scope
    board_qc:207: error: 'USB_STATE_ERROR' was not declared in this scope
    board_qc.ino: In function 'void halt55()':
    board_qc:220: error: 'E_Notify' was not declared in this scope
    board_qc:225: error: 'Usb' was not declared in this scope
    board_qc.ino: In function 'void press_any_key()':
    board_qc:250: error: 'E_Notify' was not declared in this scope
    

    Anyone have any idea on how I can get rid of these issues? I'm using an Arduino UNO board. After these errors remove I can start with connecting the board.

No public wish lists :(