811
Discussion - Software / Re: EVE Screen Designer - Screen orientation from landscape to portrait
« on: June 14, 2018, 11:07:09 AM »
Hello,
Thanks for your question.
Unfortunately you cannot configure the tool to work with portrait mode.
However it is possible to export the code from ESD and edit the code in the FT9xx toolchain to achieve a rotated screen.
For example in the ‘SimpleLayout’ project in the ‘FT_Esd_MainLoop.c’ file I have added the 'Ft_Gpu_Co_Cmd_SetRotate()' command to rotate the screen:
Please see section 5.53 of the FT81x Programmers Guide:
http://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/EVE/FT81X_Series_Programmer_Guide.pdf
Best Regards,
FTDI Community
Thanks for your question.
Unfortunately you cannot configure the tool to work with portrait mode.
However it is possible to export the code from ESD and edit the code in the FT9xx toolchain to achieve a rotated screen.
For example in the ‘SimpleLayout’ project in the ‘FT_Esd_MainLoop.c’ file I have added the 'Ft_Gpu_Co_Cmd_SetRotate()' command to rotate the screen:
Code: [Select]
ft_void_t Ft_Esd_MainLoop()
{
Ft_Gpu_Hal_Context_t *phost = Ft_Esd_Host;
// Initialize application
Ft_Esd_InitDlState();
Ft_Esd_ResetGpuState();
Ft_Esd_ResetCoState();
Ft_Esd_Frame = 0;
Ft_Esd_Millis = ft_millis();
Ft_Esd_Timer_CancelGlobal();
Ft_Main__Start__ESD();
//Screen rotation
Ft_Gpu_Co_Cmd_SetRotate(phost,2);
int idled = 0;
while (Ft_Main__Running__ESD())
{
Please see section 5.53 of the FT81x Programmers Guide:
http://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/EVE/FT81X_Series_Programmer_Guide.pdf
Best Regards,
FTDI Community