Hi all,
I am sort of a noob, so please be patient.
I am trying to use the USB Development Package to try to read/write via USB. Right now I can receive data easily enough to my terminal program, but I am having trouble sending data. Basically what I want to do is be able to send single characters (or anything, really) to be able to trigger events. Right now I am just trying to toggle an LED.
Within the USB API, there is one vector which handles all interrupts for the USB. As near as I can tell, USBVECINT_OUTPUT_ENDPOINT2 is the case that handles received data. I don't want to mess with the prebuilt stuff too much, all I want to do is be able to wait for the received complete flag to go off, then be able to see what has been received. Unfortunately I can't seem to find where it is that the data is stored. I have a rough idea that a string gets appended until the number of bytes to be received has been met, but I don't know where that string is being stored.
Any help on this is greatly appreciated! Thanks!