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.
I've seen tickers used outside the the while(1) loop but when I run it; it does nothing unless it is in the while(1) loop. Any ideas on what could be causing this. For the time of the ticker I use a defined variable of around 8000 so the code looks like:
sample.attach(&do_stuff,1/variable);
What could be causing this?