cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a screenshot function with touchGFX?

HWang.12
Associate

Hello, anybody knows how to make a screenshot function with touchGFX4.12.3?

Hardware: stm32f767+sdram,ltdc ,800*480 LCD

I found a API STM32F7HAL::getTFTCurrentLine(), my logic is that when the current line is greater than 480, then

__HAL_LTDC_DISABLE(&hltdc)

copy sdram data to some buffer;

__HAL_LTDC_ENABLE(&hltdc)

I try it many times,sometime I can get the whole scrennshot ,sometime can't;

See the attachment for your reference;

0 REPLIES 0