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
Save the file and reboot your pi