Hello everyone, i am a new electrical engineering student and i wanted to design a tilt sensor that measures the angle between -15 to 15 degrees in x and y axis… i purchased the MMA8452Q from sparkfun the the provided libraries and basic example codes were very helpful. right now i require the code that is being run in the simulation video of sparkfun. i want to display the angle of tilt on lcd. if there is anyone who is kind enough to give me that code, it will bea huge boost for my project.
Try editing the additional examples from the guide here: https://github.com/sparkfun/SparkFun_MM … master.zip
Best of luck!