Raspberry_Pi_Logo.svgOne of the many new changes with the release of the Windows IoT Core Anniversary Update was the addition of support for the official Raspberry Pi 7″ Touchscreen Display. Support was in the Insider Preview, but now it’s in the official release. However, if you attempt to change Display Orientation from the Windows IoT Core device portal it won’t change. Thankfully I figure out a workaround to get it working and rotate the LCD display orientation!

Problem

The Windows IoT Core Anniversary Update added support for the official Raspberry Pi 7″ Touchscreen Display, however the feature to rotate the display orientation doesn’t work.

By default Windows IoT Core will use Landscape orientation of display. There is UI in the Windows IoT Core device portal (http://{device ip address}:8080) to change the Display Orientation to Landscape (Flipped), but for some reason the change won’t actually save.

WinIoTCoreDeviceWebPortalDisplayOrientation

When the Display Orientation is changed from the device portal, it will prompt that it saved and will reboot the device. However, when the device boots back up the change will not have been made.

Workaround Solutions

Hopefully Microsoft will fix this issue in an update soon, but for now it’s a bug. Thankfully there is a workaround to get the Display Orientation changed.

Follow these steps to flipped the display orientation around:

  1. Turn off Raspberry Pi
  2. Take out MicroSD card
  3. Insert MicroSD card into Computer
  4. Open the “config.txt” file in the root folder of the MicroSD card in a text editor
  5. Add the following line to the end of the “config.txt” file:

    [code]
    lcd_rotate=2
    [/code]

  6. Save the file
  7. Remote MicroSD card from Computer and Insert it back into Raspberry Pi
  8. Tun on Raspberry Pi and enjoy the world right-side up!

Happy building!

Posted by Chris Pietschmann

Chris is a Microsoft MVP and has 15+ years of experience building enterprise systems both in the cloud and on-premises. He is also a Microsoft Certified (MCSD) Azure Solutions Architect. He has a passion for technology and sharing what he learns with others to help enable them to learn faster and be more productive.

One Comment

  1. […] Fix Windows IoT Core Raspberry Pi Upside-down Display by Chris Pietschmann […]

    Reply

Leave a Reply