How to rotate your touchscreen output

In one of the recent Raspbian updates they have changed the orientation of the LCD output and touch coordinates. This could be a problem for you if you purchased a case and stand that has a fixed orientation. Fear not! It's really easy to flip it back round...

Simply edit your /boot/config.txt file, and add the following line:

lcd_rotate=2

That's it! Told you it was easy :)