Ticker problems

21 Jul 2010

Hi,

I am having problems using more than one ticker object.  The first ticker works fine and both re-attach()-ing without detach()-ing and detach() then attach() works fine.  The problem is that, as soon as a I try to attach a function, for the first time, to the second ticker, the program just hangs.  No more serial output, nothing.  Only a reset wakes it up.  The program runs without issue until it needs to attach the second ticker.

I know a similar problem has been discussed and apparently resolved in a previous forum post yet I am still seeing these strange effects.  I am using mbed library version 24.

Any ideas what might be going on?

 

Best Regards,

James

21 Jul 2010 . Edited: 21 Jul 2010

Just tried recompiling in Beta mode compiler and the problem is gone.

Wow, you guys are fast!