1 /*****************************************************************************
2 * config.h: config file for usbcdc example for NXP LPC13xx Family
5 * Copyright(C) 2008, NXP Semiconductor
9 * 2008.07.19 ver 1.00 Preliminary version, first Release
11 ******************************************************************************/
15 This example shows how to use the USB driver to implement a CDC class USB peripheral.
16 To run this example, you must attach a USB cable to the board. See
17 the "Getting Started Guide" appendix for details.
20 Click the debug toolbar button.
22 Plug the LPCXpresso's target side into a PC using a USB cable retrofit
23 or a 3rd party base board.
25 * You should be able to see a new COM port on your PC.
28 #include "projectconfig.h"
30 #define USB_VENDOR_ID CFG_USB_VID // Vendor ID
31 #define USB_PROD_ID CFG_USB_PID // Product ID
32 #define USB_DEVICE 0x0100 // Device ID
34 #define LED_PORT 0 // Port for led
35 #define LED_BIT 7 // Bit on port for led
38 /*********************************************************************************
40 *********************************************************************************/
This page took 0.046956 seconds and 5 git commands to generate.