Other Parts Discussed in Thread: CC2640
hi, all,
在cc2640开发过程中,有些浮点运算。但是经过测试,Display_printf函数通过%f无法输出float类型变量。想通过sprintf来做,发现会crash,怀疑是栈溢出问题。
请问各位大佬,如何输出float类型变量,或者有没有什么可靠的调试方法?
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.
Other Parts Discussed in Thread: CC2640
hi, all,
在cc2640开发过程中,有些浮点运算。但是经过测试,Display_printf函数通过%f无法输出float类型变量。想通过sprintf来做,发现会crash,怀疑是栈溢出问题。
请问各位大佬,如何输出float类型变量,或者有没有什么可靠的调试方法?