980 views
in Embedded Wizard Studio by
Hi, I'm using STM32F429 discovery board with native screen size 240x320. So it's standart vertical orientation. I want to make an application in a horizontal orientation so the screen size should be like 320x240. What parametres should i change?

P.S. I'm using 8.00 Eval Studio version if that matters.

1 Answer

+1 vote
by
 
Best answer

Hi,

the provided 'ScreenOrientation' sample demonstrates the possibility to create a UI application for 0°, 90°, 180° and 270° screen rotation.

If you want to use the provided Template project (as written in the document Getting Started with STM32F429 Discovery), then you should make the following steps:

  • Create a new project for STM32F429
  • Select the Profile brick
  • Change the attribute 'ScreenSize' to <320,240>
  • Change the attribute 'ScreenOrientation' to 'Rotated_90' or 'Rotated_270'
  • Set the attribute 'OutputDirectory' to \Examples\Template\GeneratedCode
  • Implement your GUI application and generate the code
  • Open the makefile of the Template project within a text editor and set the flag 'ROTATION' to 90 or 270
  • Rebuild the entire project.
  • Enjoy :-)

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...