Rotate display on MM5 for STM32F7 Capacitive with Necto Studio

Fully featured ARM compilers available on Windows, Linux, and macOS.
Post Reply
Author
Message
jamesarid
Posts: 15
Joined: 25 May 2022 02:28

Rotate display on MM5 for STM32F7 Capacitive with Necto Studio

#1 Post by jamesarid » 07 Nov 2023 01:38

Hello,
How do I rotate display and touch on MM5 for STM32F7 capacitive.
I use Necto Studio 5 and MikroSDK 2.9.
Thanks.

jamesarid
Posts: 15
Joined: 25 May 2022 02:28

Re: Rotate display on MM5 for STM32F7 Capacitive with Necto Studio

#2 Post by jamesarid » 09 Nov 2023 03:00

#include <ssd1963.h>

//put after touch_controller_init
ssd1963_write_command(0x36);
ssd1963_write_param(0b00000011);

jamesarid
Posts: 15
Joined: 25 May 2022 02:28

Re: Rotate display on MM5 for STM32F7 Capacitive with Necto Studio

#3 Post by jamesarid » 10 Nov 2023 03:17

actually:
ssd1963_write_param(0b11000011);

this will flip images as well

User avatar
Tanja_Kovacevic
mikroElektronika team
Posts: 98
Joined: 09 Aug 2021 11:39

Re: Rotate display on MM5 for STM32F7 Capacitive with Necto Studio

#4 Post by Tanja_Kovacevic » 10 Nov 2023 17:43

Hi,

I'm glad you found a solution.
Thank you for sharing it with other customers on our Forum.

Kind regards,
Tanja

Post Reply

Return to “ARM AI Compilers”