Skip to main content
KFrey.1
Associate II
December 3, 2020
Question

Where to find tickCounter() and lastTempValue() function from the "STM32 Graphics Workshop - 10 TouchGFX lab temperature sensor display"?

  • December 3, 2020
  • 2 replies
  • 1104 views

Dear STM community and team

For further understanding the implementation of TouchGFX, I have watched the youtube video of STMicroelectronics: "STM32 Graphics Workshop - 10 TouchGFX lab temperature sensor display"

https://www.youtube.com/watch?v=rYrRjXyAYvs

After downloading the project file, the functions tickCounter() and lastTempValue() are used but I can't find their function declaration. Could you tell me where these function are implemented and how they are declared?

Thank you, KFrey.1

This topic has been closed for replies.

2 replies

MM..1
Super User
December 8, 2020

You mean this ?

Model::Model() : modelListener(0)
#ifdef LAB_STEP_1_ENABLE
 , tickCounter(0), scanJunctionTemp(false)
#endif /*LAB_STEP_1_ENABLE*/
{
}

In C++ this isnt real function , but used in call class method setup some initials, then here for example

tickCounter=0

KFrey.1
KFrey.1Author
Associate II
December 16, 2020

yes, I meant this. As you said, I initialized tickCounter=0 and now it seems to work. Thank you