DIY Motion Sensor with UNITY

Here is my Video That shows how I interfaced My STM32F4 Discovery Boards LIS302DL Motion Sensor with My PC.
TIPS:- If you want to reproduce this then be careful of few things here are those
1. Don’t use Events in your c# code.
2. Don’t use Read buffer function instead use read byte function .
3. Be careful with noise any value grater than 4 can never be noise but values like 1…2.. can be noise
This is the C# script that i used in Unity.




I do what I love. There is a famous quote "Love the process not the product " & I think this is what differentiates developers from consumers .