I need example code for usb virtual com port to communicate data to pc windows 7.
I suggest to use the usbd_lib_composite LPCOpen example code. In this example and virtual comm port interface (using CDC-ACM class) and a HID-mouse interfaces are combined together to form a composite device. The VCOM interfacecould be used for out putting debug messages.
You can download LPCOpen from the following link:
LPCOpen Software for LPC17XX | NXP
Retrieving data ...