2020-12-03 07:00 AM
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
2020-12-08 10:28 AM
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
2020-12-16 07:55 AM
yes, I meant this. As you said, I initialized tickCounter=0 and now it seems to work. Thank you