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.
我已经制作了一个代码,它从 cos 和 sin 函数中获取输入。不幸的是,代码运行异常,我使用了 math.h 和 stdlib,代码在 c 中运行良好,但在 tm4c123ghpm 中运行良好。
sig->Real =a * sine (w*i + phase);
当我执行该行代码时、停止、但当我注释此代码时、效果良好。