Hey!
So I am having some issues with my assessment creating a working board where the accelerometer data is visually displayed on the LED in an appropriate manner. Also, A serial terminal displaying the raw accelerometer values along each of the three axes (X, Y, Z).
When you tilt it it should show different colors depending on what angle you have it in. the main colors are RED, GREEN and BLUE.
I'm new to Kinetis and FRDM board so I hope someone can give me a lot of help finishing til task.
Thank you.
Hi Anders,
Please refer to the FRDM-K20D50M sample code, the frdm-k20d50m-demo have the function what you needed:
You can find the project in folder:\kinetis_50MHz_sc\k20d50m_sc_baremetal\build\iar\frdm-k20d50m-demo
Wish it helps you!
If you still have question, please let me know.
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------