How do I read data from the terminal using DB:ConsoleIO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I read data from the terminal using DB:ConsoleIO

1,022件の閲覧回数
jacewalton
Contributor III

I am using DB:ConsoleIO which has an IO1:Serial_LDD component in it and was wondering of there is a getchar funciton or a way to read data from the terminal. thanks

0 件の賞賛
返信
1 返信

942件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Jace Walton,

   You can use the scanf, getchar, ect.

   Take getchar as an example:

pastedImage_1.png

More useful functions, you can find it from the stdio.h.

pastedImage_2.png

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信