cancel
Showing results for 
Search instead for 
Did you mean: 

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

KFrey.1
Associate II

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

2 REPLIES 2
MM..1
Chief II

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
Associate II

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