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

Timer library - multiple timers

Hi everyone,

I suppose this is a very simple question... I want to create multiple timers using the Timer Library.

Each time I want to create a new timer based on RTC1 peripheral I have to define and create it uniquely? For instance, in case I want three timers I have to do like this?

Fullscreen
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Thanks in advance

Nick

Parents
  • Hi Nick,

    Yes, this is the correct approach for setting up multiple timer instances. You may take a look at the ble_app_hrs project if you want an example of how the timers are set up. This example uses 4 instances.

Reply
  • Hi Nick,

    Yes, this is the correct approach for setting up multiple timer instances. You may take a look at the ble_app_hrs project if you want an example of how the timers are set up. This example uses 4 instances.

Children