Page 1 of 1

Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 3:42 pm
by Jimprice
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

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 3:55 pm
by texy
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

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 4:03 pm
by Jimprice
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 .

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 4:05 pm
by DirkS
When i try to update the setting it doesnt let me .
Does that mean you get some sort of message?

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 4:10 pm
by W. H. Heydt
Or...you could do what I do. Turn the screen over. A right-angled microUSB cable helps, though.

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 4:15 pm
by Jimprice
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

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 4:26 pm
by DirkS
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>

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 4:29 pm
by JimmyN
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.

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 5:50 pm
by DougieLawson
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.

Re: Raspberry pi 7inch screen

Posted: Mon Mar 14, 2016 6:26 pm
by Jimprice
Thank you guys !! It worked thank you :D