When i compile and run this program, the P2.0 will give a HIGH signal .. ...

int main(void)
{
  WDTCTL = WDTPW + WDTHOLD;


P5DIR |= 0xFF; // Bit=0 is input; Bit=1 is output. P5 is output now
  P5OUT = 0xB7;
P6DIR = 0xFF;
    P6OUT = 0x00;
    P4DIR = 0xFF;
    P4OUT = 0x6E;
}



Reply via email to