This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 非阻塞式从 CCStudio 控制台窗口读取?

Guru**** 2561370 points
Other Parts Discussed in Thread: CCSTUDIO

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1222183/non-blocking-read-from-ccstudio-console-window

主题中讨论的其他器件:CCStudio

我注意到、只需将 printf ()添加到代码中、我就可以将目标代码的文本写入 CCStudio Console 窗口。

我还注意到,我可以通过向代码中添加 read()从控制台窗口读取。 不幸的是,这个 read()被阻止了。

是否有任何方法可以实现对控制台窗口的非阻塞式读取?