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.
10 years, 9 months ago.
Ticker in dynamic time intervall ?
Hy, is it only possible to make a fix intervall in the ticker ? If yes, can somebody explain me how I can call up a function in a dynamic time intervall (in other words I would like to use a variable for the ticker instead of a fix time) It isn't possible to use te PWM_Out
I hope you know what my problem is Thank you and Regards
2 Answers
10 years, 9 months ago.
You can't make it directly connected to a variables value, but you can reset it at any time with a new interval. If it changes every time it is called you might rather use timeout, and reset that everytime with a new value.