Cypress技术论坛
直播中

李峰

8年用户 158经验值
私信 关注
[问答]

如何打印浮阀和平方和平方根

如何打印浮阀和平方和平方根functions.is有图书馆获得这些功能工作。

以上来自于百度翻译


     以下为原文
  How can print float valves and also square and square root functions.is there any library to get those functions to work.

回帖(1)

杨军

2019-2-25 13:17:19
使用StastFf()将浮点转换为字符字符串,然后将UART、USB /UART转换为
终端。在SaveTFF()中使用的附加格式字符串信息。
扩展数学库- HTTP//www. CyPress .COM/知识基础文章/用法数学函数-PSOC-Calor -PSOC-4-OR-PSOC-5LP-GCC-COMPILL KBA93076
HTTP://www. KeI.COM/PAC/DOCS/CMSIS/DSP/HTML/NETX.HTML
问候,Dana。
Primtf〔1〕
81.5 K

以上来自于百度翻译


     以下为原文
  Use sprintf() to convert float to char string and then UART, USB/UART to
    terminal. Attached formatting string info for use in sprintf().
     
    Extended math libraries - http://www.cypress.com/knowledge-base-article/using-math-functions-psoc-creator-psoc-4-or-psoc-5lp-gcc-compiler-kba93076
     
    http://www.keil.com/pack/doc/CMSIS/DSP/html/index.html
     
    Regards, Dana.


举报

更多回帖

发帖
×
20
完善资料,
赚取积分