Jimprice
Posts: 10
Joined: Mon Mar 14, 2016 3:36 pm

Raspberry pi 7inch screen

Mon Mar 14, 2016 3:42 pm

Hi i have a 7inch raspberry pi lcd . I hooked it up and the screen is upsidedown. Ive look at blogs and read trying to get it flipped with no success . I keep reading to put lcd-rotate=2 into config\txt . But they dont say what line or section to add too or replace. I could use some help other than being told put it there

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 3:55 pm

Hi and welcome to the forum.
Just put it a the end of the file. Just to be sure, the file you need to edit is config.txt, using, for example the nano editor:
sudo nano /boot/config.txt
and add at the end of the file

Code: Select all

lcd_rotate=2
Then use Control-X to save and quit, then reboot your pi :

Code: Select all

sudo reboot
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Jimprice
Posts: 10
Joined: Mon Mar 14, 2016 3:36 pm

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 4:03 pm

Ive tried that 10 times this morning . When i try to update the setting it doesnt let me . Ive been working on and off this for a month and getting no where . I need a screen shot or something .

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 4:05 pm

When i try to update the setting it doesnt let me .
Does that mean you get some sort of message?

W. H. Heydt
Posts: 12784
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 4:10 pm

Or...you could do what I do. Turn the screen over. A right-angled microUSB cable helps, though.

Jimprice
Posts: 10
Joined: Mon Mar 14, 2016 3:36 pm

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 4:15 pm

no it just goes to he next line when I hit enter. this all would have been so much better if they would make the frame correctly. I'm going to reload noobs again and try again your suggestion

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 4:26 pm

Jimprice wrote:no it just goes to he next line when I hit enter. this all would have been so much better if they would make the frame correctly. I'm going to reload noobs again and try again your suggestion
nano is a text editor, and as in most editors you somehow have to save the file and then exit the program...
Do you actually save and exit with e.g. <control-x>Y<enter>
Last edited by DirkS on Mon Mar 14, 2016 4:31 pm, edited 1 time in total.

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 4:29 pm

Here you go, this should help you out. First open the file using

Code: Select all

sudo nano /boot/config.txt
When nano opens the file use the down arrow key on the keyboard to scroll down to the bottom of the file.
Add this line at the bottom

Code: Select all

lcd_rotate=2
To save the changes and exit the editor you have to hold down the <CTRL> key and press "x". Then you'll have to press "y" to confirm that you want to save the changes, then finally press <ENTER>. If you don't press the "y" key to confirm the changes it won't save them when you exit.

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

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 5:50 pm

Since you're using NOOBS try holding the [SHIFT] key while you reboot and using the NOOBS config editor to add the stuff to the bottom of your config.txt file.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Jimprice
Posts: 10
Joined: Mon Mar 14, 2016 3:36 pm

Re: Raspberry pi 7inch screen

Mon Mar 14, 2016 6:26 pm

Thank you guys !! It worked thank you :D

Return to “Official Foundation Display”