I want to use the external interupt pin 0. So I configured the Port 1 like this : // 3 IRQ : Input Only.
P1M1 = 0X7E; P1M2 = 0x81;