When we tilt our Smartphone from Portrait to Landscape... How does it know that we're tilting our phone? Watch what happens when we snoop the Accelerometer Data from PinePhone's MPU-6050 Accelerometer...
https://www.hackster.io/lupyuen/inside-a-smartphone-accelerometer-pinephone-with-nuttx-rtos-b92b58 Thanks to Filipe Cavalcanti for inspiring this tutorial! :-) BTW Hackster.io has problems for me, it got stuck at "Saving..." and lost my edits a few times. Remember to copy and paste your Article Text into another Backup Project at Hackster.io! :-) Lup