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.
4 years ago.
Is it possible to attach a timeout period as a variable in timeout()
I'm having a problem with timeout() on mBed LPC1768; if I set
then this works fine. But if I do:
where TI has previously been declared as a float and initialised to 10.0, then the timeout does not work - the activity at the end of the desired timing period doesn't happen (program compiles without error).
Thanks for any advice.