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.

[参考译文] CCS/TMS320F28335:不进入 If Else 条件

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/691754/ccs-tms320f28335-not-entering-if-else-condition

器件型号:TMS320F28335

工具/软件:Code Composer Studio

您好!

我一直尝试连接一个芯片、我写了一条 if 语句来读取一个输入 GPIO 引脚、它不会切换。 我在监视窗口中放置了相同的内容、在这里它正在切换。

我尝试将引脚的状态读取到变量、并使用该变量检查条件、但它也不起作用。

我们非常感谢您的任何帮助。

谢谢、

Akhil