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.

[参考译文] MSP430F5529:如何将数据存储为通过 UASR 从计算机接收的十进制值?

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1344079/msp430f5529-how-to-store-the-data-as-decimal-value-that-are-received-from-computer-by-uasr

器件型号:MSP430F5529

请给我一些建议

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

    您好!

    我们通常使用 IQ 格式的数据来表示 MSP430中的十进制数据。 您可以访问此链接、更好地了解 IQ 格式数据。  

    https://www.ti.com/tool/MSP-IQMATHLIB

    此致、

    现金豪

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

    如果您正在获取文本,您应该能够使用 fscanf()将其转换为浮点,然后转换为定点。 您需要向我们提供更多详细信息、以便我们更好地帮助您。