3 Replies Latest reply on Jul 15, 2017 7:08 AM by user_242978793

    AN58726 Composite device

    rseedle_2385561

      I have been working my way through AN58726 and more specifically the second example.

         

      When building the project it seems to throw an error on the code added in the main.c file.

         

            USB_IN_Keyboard_Data, 8);
            /* Loads IN data for Volume Controller */
            USBFS_1_LoadInEP(2, USB_IN_Volume_Data, 1);

         

      Build error: 'USB_IN_Keyboard_Data' undeclared (first use in this function)

         

      Build error: 'USB_IN_Volume_Data' undeclared (first use in this function)

         

      My assumption is that they are not defined in the new project.h but that is just a first guess.

         

      Let me know what you think. I have zipped up the project and attached it here.

         

      Randy