你好,我使用 cc2640r2f lounchpad 和代码获取异常和填充堆栈大小后. 代码不再运行。
uart_WRITE(UART,-->电源 AVG:",13 );
n = sprintf ((char*) cc_uart_send_buffer、"%.2d\r\n"、AvgPower);
uart_write (uart、(char*) cc_uart_send_buffer、n);
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.
你好,我使用 cc2640r2f lounchpad 和代码获取异常和填充堆栈大小后. 代码不再运行。
uart_WRITE(UART,-->电源 AVG:",13 );
n = sprintf ((char*) cc_uart_send_buffer、"%.2d\r\n"、AvgPower);
uart_write (uart、(char*) cc_uart_send_buffer、n);
您好 Vahid Javadi、
希望你好。 我刚刚 在另一个电路板上测试了行 n = sprintf ((char*) cc_uart_send_buffer、"%.2d\r\n "、AvgPower)、并且可以看到程序停止。 然后、我尝试了"n = sprintf (test、"%.2d\r\n "、345)"的替代方法、但程序没有停止、您能否尝试调整它、看看程序是否仍然停止?
如需更多帮助、您可以提供您正在使用的 SDK 以及您正在使用的示例?
谢谢。
A·F