Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4526

Official Display • Rotating with the official 7" Touch Screen Display 90 degrees

$
0
0
Hi all

I have an official 7" touch display connected to a raspberry pi 3B (not +) that I want to use as a small infoscreen at home. As it turns out, the best would be a vertical mount of this (I'll 3d print something for this), but how can I tell Raspberry pi OS I want it rotated 90 degrees? I have tried rotate=1 (or 3), lcd_rotate=1 (or 3) and even this "trick"
# For 90 degree rotation (top to right):
#display_lcd_rotate=1
#dtoverlay=rpi-ft5406,touchscreen-swapped-x-y=1,touchscreen-inverted-x=1

# For 180 degree rotation (upside down)
#display_lcd_rotate=2
#dtoverlay=rpi-ft5406,touchscreen-inverted-x=1,touchscreen-inverted-y=1

# For 270 degree rotation (top to left)
display_lcd_rotate=3
dtoverlay=rpi-ft5406,touchscreen-swapped-x-y=1,touchscreen-inverted-y=1
But no cigar. All I can make work, is lcd_rotate=2. Any idea how to do this?

Statistics: Posted by RoyK — Mon Apr 22, 2024 11:41 am — Replies 3 — Views 37



Viewing all articles
Browse latest Browse all 4526

Trending Articles