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.
In my program, I need to run my code at a set interval (drone flightcontroller). For this I was having some questions about the Ticker class.
What happens if the time for the code triggered by the Ticker interrupt takes too long and the new interrupt fires? Will the previous routine be finished or will the new interrupt start instantly? And if the second thing happens, does this mean that the old (interrupted) routine is discarded or will it still finish when the cpu has some time left?