Accelerometer in KDS
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/