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.
工具与软件:
因此、这听起来可能是一个愚蠢的怀疑、但我尝试调试了不读取引脚会导致什么问题。 我尝试了多种方法。 我已使用上拉电阻器将 p16A 配置为输入。 GPIO_LEDS_InputPin 是引脚映射。 我的代码类似检查我的引脚读取值是1还是0、然后进行切换。 在 LaunchPad 上、我为 PA16引脚提供了大约2.9V 的电压。 我把断点放在第77行上,它不是,我不能读取值. 我始终获得0的 UINT32位值。
请帮助!