Skip to main content
GMeur
Associate III
February 4, 2019
Question

Timer

  • February 4, 2019
  • 1 reply
  • 575 views

Hello,

How can I simply implement a timer with TouchGFX ?

I haven't found any class to do so… Have I missed it ?

Thanks.

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
February 4, 2019

Hi @GMeur​,

There are no timers in TouchGFX, per se. The ::tick() method on Model.cpp will be called every VSYNC (e.g. every 16.66 ms). You can use calls to tick() to determine your internal application timing and timeouts.