Using the FRDM-KL25 Board as a USB Keyboard in KDS

File uploaded by Ben Trevett Employee on Jun 30, 2014Last modified by Diana Torres on Feb 28, 2017
Version 2Show Document
  • View in full screen mode

USB Keyboard in KDS

 

Description:

 

A project made in KDS using the FRDM-KL25Z128M4 board as a USB keyboard input.

The LED will flash red while not connected as a USB keyboard, and flash green when it is.

The reset button will press the print screen button.

The reset button can be configured to press any possible key as long as they are correctly #defined.

Use http://www.usb.org/developers/devclass_docs/Hut1_11.pdf as a reference for keys.

Strings may also be output, see the commented out H1DK1_SendStr call in main.c for an example.

 

Sections of code taken from http://mcuoneclipse.com/2013/06/30/using-the-frdm-kl25z-as-usb-keyboard/

Attachments

Outcomes