2021-01-26 06:35 PM
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;