FRDM KL25Z code that sets the LED colour dependent on the angle of the board. Demo code on how to read the I2C interface for the accelerometer. Check out the acclv2 version of this code - basically the same, but written in c++, compiles to same size

Dependencies:   mbed

Wiki pages

Sort by: Score, Alphabetical, Date