2024-07-15 01:13 PM
I'm trying to use touchGFX with an ILI9341 using SPI. I've gone through the steps to create my timer to call touchgfxSignalVSync() but I get the warning: implicit declaration of function 'touchgfxSignalVSync'. Is there something that needs to be included in order to call the method?
I'm using STM32CubeIDE Version: 1.15.1 Build: 21094_20240412_1041 (UTC) and TouchGFX Version 4.24.0.
Kindest regards
Solved! Go to Solution.
2024-07-16 04:43 AM
Hello @kumaichi ,
I think the warning is because touchgfxSignalVSynch() is not declared. You can declare it in the driver for your display.
There are plenty of TouchGFX Board Setups (TBS) that use SPI display interface. You can draw inspiration from them for your use case.
I hope this helps you!
Don't hesitate to ask more questions
2024-07-16 04:43 AM
Hello @kumaichi ,
I think the warning is because touchgfxSignalVSynch() is not declared. You can declare it in the driver for your display.
There are plenty of TouchGFX Board Setups (TBS) that use SPI display interface. You can draw inspiration from them for your use case.
I hope this helps you!
Don't hesitate to ask more questions
2024-07-16 01:21 PM
Thank you Mohammad, that worked. Kindest regards.
2024-07-16 02:16 PM
@Mohammad MORADI ESFAHANIASL wrote:I think the warning is because touchgfxSignalVSynch() is not declared.
That's right: if you don't provide an explicit declaration, the compiler will create a default - or "implicit" - declaration.
This is standard compiler behaviour - not specific to TouchGFX or STM32
2024-07-17 12:45 AM
Glad to help!
Good luck