X-Y rotation

Moderators: mdrjr, odroid

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
phaseshifter
 
Posts: 2679
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: c1+ ..c-2..xu3 lite,xu4.u-2..u-3..vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...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: 3248
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..
phaseshifter
 
Posts: 2679
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: c1+ ..c-2..xu3 lite,xu4.u-2..u-3..vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well


Return to 3.5inch LCD Shield

Who is online

Users browsing this forum: No registered users and 3 guests