Content originally posted in LPCWare by wsyuen on Thu Feb 10 22:01:36 MST 2011
I modified the USBHID sample as a USB keyboard.
It works when I plug in the PC when the PC is turned ON.
However, if I plug in the PC and then turn ON the PC, it can't recognise it as a USB keyboard.
Is it anything need to do with the code?
I'm using the following functions:
USBIOClkConfig();
USB_Init();
USB_Connect(TRUE);
and I haven't use the Soft Connect function, D+ is always pull-high with a 1.5k resistor.