Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi:
I would like to call the stop() member function from a RtosTimer object, however, this is a bit difficult:
As RtosTimer is defined within main(), Blink could not see it. If I define LedTimer() outside but before Blink, the code could compile but the code will crash (4 blinking blue LEDs).
Any suggestion?