X-Y rotation

Moderators: odroid, mdrjr

X-Y rotation

Unread postby phaseshifter » Sat Nov 12, 2016 11:23 pm

is it possible to have the l.c.d rotate the display axis so that it display`s more like a coulomb rather than the normal X-Y axis
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!
phaseshifter
 
Posts: 2999
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: X-Y rotation

Unread postby crashoverride » Sun Nov 13, 2016 9:22 am

You can set the rotation when you load the driver:
Code: Select all
sudo modprobe fbtft_device name=flexpfb rotate=270

0, 90, 180, and 270 should work.
crashoverride
 
Posts: 4137
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: X-Y rotation

Unread postby phaseshifter » Sun Nov 13, 2016 2:32 pm

thank you Mr C ...i thought that was it i did not know the code..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!
phaseshifter
 
Posts: 2999
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well


Return to 3.5inch LCD Shield

Who is online

Users browsing this forum: No registered users and 9 guests