xphoenix
Posts: 2
Joined: Sat Mar 12, 2016 9:18 pm

Screen rotation using accelerometer

Thu Mar 31, 2016 5:46 pm

Hi guys,
Q: please i want to know how to make Raspberrypi screen auto rotate using accelerometer

on Android using JAVA programming ?

AND

on Linux os using python ?

Thanks,best wishes
;)

quinness
Posts: 17
Joined: Thu Mar 10, 2016 12:02 pm

Re: Screen rotation using accelerometer

Tue Apr 05, 2016 9:24 am

Haven't found any solution on how to rotate on a running system. You have to restart x to make it happen. :|
http://raspberrypi.stackexchange.com/qu ... rry-pi-2-b
I shall see if that is an easy script to write...
Raspian Jessie 2016-02-26 _-=* If there are choices, why complain? *=-_
openSUSE LEAP 42.1 (3 pcs) _-=* Uppland, Sweden *=-_

xphoenix
Posts: 2
Joined: Sat Mar 12, 2016 9:18 pm

Re: Screen rotation using accelerometer

Mon Apr 11, 2016 10:28 pm

Theres no solution ??

User avatar
DougieLawson
Posts: 40555
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Screen rotation using accelerometer

Tue Apr 12, 2016 10:01 pm

xphoenix wrote:Theres no solution ??
That's correct. It can't be done.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Return to “Interfacing (DSI, CSI, I2C, etc.)”