This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

2.4. USB HID KEYBOARD

2.4.1. Overview

This example project shows USB HID Keyboard

  • PC sees a keyboard via Device Manager

2.4.2. Board Setting

  • Connect a USB port on PC to the PWR DEBUG port on the development board with a USB Type-C cable

  • Connect a USB port on PC to one of USB port on the development board with a USB Type-C cable

2.4.3. Running the example

  • Download the program and run. The computer can automatically recognize and enumerate a device with a keyboard.

  • Pressing the PBUTN button on the board is equivalent to pressing “A” on the keyboard.