Msp430按键 MSP430 4*4键盘 #include /* * main.c */ void main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer P2DIR = BIT0; P2OUT = BIT0; char temp = 0; int