Using the Accelerometer on the FRDM-MK64 Board in KDS

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

Accelerometer in KDS


Description:

 

This is a small project made in KDS using the accelerometer on a FRDM-MK64FN1M0VLL12 board.

The blue LED is on when the board is flat or upside down

The red LED is on when the board is on its side

The green LED is on when the board is on its nose or tail

 

Sections of code taken from http://mcuoneclipse.com/2014/05/26/tutorial-data-logger-with-the-frdm-k64f-board/

Attachments

Outcomes