| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Modules
Keyboard Host
USB examples

## Detailed Description

Example description
This example implements a HID class host mode device that enumerates a HID class device with keyboard report descriptors and displays key press characters on a terminal. If the keyboard is enumerated and working pressing "Space" key toggles the LED0, and pressing "ENTER" key toggles LED1. NOTE: many keyboards enumerate as a HUB device which is not supported by this example.

When the example is first run the terminal window will display: Keyboard Host Demo running.

When the keyboard is plugged in the terminal window will display: Device Attached. Keyboard Enumerated.

When a key is pressed on the keyboard an upper case character corresponding to that key will be displayed in the terminal window.

When the keyboard is unplugged the ternimal window will display: Device Unattached.

Special connection requirements
For Keil 1858 and 4357 boards, the host examples requires an external power supply via the PWR power connector.

Build procedures:
LPC18xx/43xx example quickstart for Keil uVision4
LPC18xx/43xx example quickstart for IAR EWARM
LPC18xx/43xx example quickstart for Code Red Xpresso

Supported boards and board setup:
Hitex 1850 evaluation boards
Hitex 4350 evaluation boards
Keil 1857 evaluation boards
Keil 4357 evaluation boards
NGX 1830 Xplorer boards
NGX 4330 Xplorer boards

Submitting LPCOpen issues:
Community support for LPCOpen

## Modules
| Main definitions