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.

[参考译文] TMS320F28027:SCI 打印内部

Guru**** 2539500 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/611094/tms320f28027-sci-print-int

器件型号:TMS320F28027

您好 Gurus、  

我想使用 SCI 将我存储在闪存中的内容打印到 Tera Term。  

我正在尝试使用 scia_xmit 作为我的打印、但它返回一个 ASCII。  

我是否必须将其转换为 int 并一次发送一个字符?

是否无法直接发送整数?  

例如、如果我在闪存中存储值100、即以十六进制表示为64、我可以读取闪存、然后当我打印 int 时、它将打印 d (100、ASCII)。

我想在屏幕上打印100的值。  

如何继续?

此致、

Rajan Joshi