This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Periodic_Task

Hi ,

I want to create a periodic task which has to run every 10 seconds, how can I create such a task?should I use threads for it? And which clock source does the task use to count 10 seconds?

Thank you for your help!

Parents Reply
  • Thank you Rk for your response! Thank you Jorgen for your answer too, But actually I'm using Mesh SDK and I want to use TIMER1 to create periodic task which runs every 30 seconds, and I also need to do some delays in some other part of my application, which I also think I have to use my TIMER1 as a clock source for delay then I have to create a function that makes delays for me using TIMER1, so my question is am I able to do such a thing without resetting my TIMER1 ?

Children
No Data
Related