I am using the Timer wrapper provided in the TimerCPP.h file (written by Richard) to create a software timer.

_blink_timer = new TimerMember<Led>( "BlinkTimer",
                                          pdTRUE );

Is there a way to assign a timer ID to the timer created, like the xTimerCreate() function does?


I never added that functionality, but it should be trivial to add that to it. The TimerHandle is also stored in the class, so a derived class can get the Handle to do the operation.

Actually, looking more at the code, I am using the TimerID field to point to the C++ timer object that I am creating, so if you want to store some data by the ID, you create a class derived from TimerClass, and that class will be able to store that additional data associated with the timer object.