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.

关于内部上拉电阻



请教一下大家,在Piccolo Launchpad使用按键时,为何要禁能内部上拉电阻才能得到正确的结果?

若不禁能,程序开始执行后,GPIO12读到为低电平,按下按键,读到高电平。放开按键,再次按下,仍然读到为高电平。

若是C2000内部上拉电阻小于R11,导致GPIO12读到一直为高电平,但为何按键第一次按下前读到低电平?按键第一次按下的电路和第一次按下再松开后的电路不是一样的吗?

具体描述,参见 blog.csdn.net/.../21172971