我用msp430f149做独立按键时,直接将按键一段接P1口,一端接地,如果我将端口设置为输出,然后通过检查低电平来判断按键是否按下可以吗?
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.
我用msp430f149做独立按键时,直接将按键一段接P1口,一端接地,如果我将端口设置为输出,然后通过检查低电平来判断按键是否按下可以吗?