Skip to main content
HWang.12
Visitor II
January 27, 2021
Question

How to make a screenshot function with touchGFX?

  • January 27, 2021
  • 0 replies
  • 727 views

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;

This topic has been closed for replies.