Problem : our 7″ touchscreen is upside-down if you want to rest it on it’s holder.
We need to edit the config.txt file to rotate the raspberry pi display
sudo pico /boot/config.txt
Add the following line to the bottom of the file
lcd_rotate=2
Save the file and reboot your pi





