In our last installment, we looked at everything we needed to get started with real-time operating systems. This post will work on refining that project and building on some of the code we already implemented. Let's get into it! Continuing to Refine the Task The task now has almost everything you need. We need to add the method Sleep (). This method suspends the execution of the task at a specified time. In most cases, this is enough, but if you need a clearly deterministic time, then Sleep () can bring you problems. For example, you want to do some calculation and blink the LED and do it exactly every 100 ms.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

tutorial,iot,c++,operating systems,freertos,rtos