modified for Official 7inch Raspberry Pi Touch Display
/boot
-
display_auto_detect=1
To rotate display
- 'lcd_rotate=2' and 'display_lcd_rotate=2' in 'config.txt' do not work
- settings > System > Raspberry Pi settings > Display rotation > 180
- 800x480