Knowledge Base Article
cout From MicroC/OS-II Task Does Not Send Data to stdout
Description
If neither printf() or cout is used
from main() before tasks are started, cout does not
work from a task.
Resolution
Add the following C code to the beginning of main():
std::ios_base::sync_with_stdio(false);Updated 3 months ago
Version 2.0No CommentsBe the first to comment