Skip to content

alfred-reynolds/raspberrypi-imu-rotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

raspberrypi-imu-rotation

A python script to read the output of a MMA8452Q and rotate the display on the Raspberry PI. The script uses the smbus python module to communicate via I2C to a MMA8452Q chip (https://www.nxp.com/docs/en/data-sheet/MMA8452Q.pdf ). It enables the Portrait/Landscape Status Register mode on the chip and issues xrandr rotate commands when a rotation is reported by the chip.

About

A python script to read the output of a MMA8452Q and rotate the display on the Raspberry PI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages