Using the FRDM-KL46 Board as a USB Mouse in KDS

File uploaded by Ben Trevett Employee on Jul 3, 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-MKL46Z256VLL4 board to control a USB mouse input.

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

SW1 will right click.

SW3 will left click.


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


Sections of code taken from: