MMA8252Q Title angle example code???

Hello All,

Does example code exist for the demo video shown here?

https://www.sparkfun.com/products/12756

The sparkfun library can report orientation, but I can’t see how it reports back angle as shown in the video. What am I missing?

After doing some additional research it seems like I need example code for tilt compensation?

Thanks in advance,

  • Z

This should actually read…

MMA8252Q Tilt angle example code???

Hi Z

The code for the simple sketch video on the product page can be found at the link below.

https://github.com/sparkfun/simple_sket … er/MMA8452

Hope that helps!

Thanks very much for you help Chris. Much appreciated.

  • Z