Using the FRDM-KL25 Board as a USB Mouse 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 Mouse in KDS




A project made in KDS using the accelerometer on a FRDM-KL25Z128M4 board to control a USB mouse input.

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

The reset button will left click.


Sensitivity of the mouse can be changed by altering the HIDM1_Move command in main.c

Reset button can be changed from left to right click by altering comments in main.c


Sections of code taken from: