Timer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1,309 Views
netra
Contributor IV

I need a code which can call  a function after  given interval time.

0 Kudos
Reply
1 Solution
1,185 Views
SortoVaritu
Contributor III

You can find an example in Freescale MQX 3.8\mqx\examples\timer\ folder. This example for 6 seconds but you can change for 20.

View solution in original post

0 Kudos
Reply
3 Replies
1,185 Views
SortoVaritu
Contributor III

What interval time you need?

You can use events for your application.

0 Kudos
Reply
1,185 Views
netra
Contributor IV

Can u please  post a example code .

The time interval of 20 seconds.

Regards,

Nisha

0 Kudos
Reply
1,186 Views
SortoVaritu
Contributor III

You can find an example in Freescale MQX 3.8\mqx\examples\timer\ folder. This example for 6 seconds but you can change for 20.

0 Kudos
Reply