Content originally posted in LPCWare by ticup on Mon Mar 05 12:42:56 MST 2012
Dear, nxpUSBlib team, thanks a lot, for the help....I downloaded and configured nxpUSBLib for my particular platform LPC11U14/201.
I run Example_KeyboardDevice and Example_MouseDevice. I can see in Device Manager in and out the HID USB. I need to go one step further and send some mouse coordinates or keyboard strokes .....to my PC. I can see everything goes on in the main as follow:
int main(void)
{
SetupHardware();
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
sei();
for (;;)
{
HID_Device_USBTask(&Keyboard_HID_Interface);
USB_USBTask();
}
}
So I try to figure out maybe Keyboard_HID_Interface buffer ??? Maybe there are documents that explain all this...or do you have any other idea how to go ahead and send receive from USB. My project will need to send and receive data thru USB. Thanks in anticipation of your help....
TicuP