Hello ,
I am using CC430F5137 on Olimax Board each having one push button . I want that one i manually press one push button on one board at the same time second button press itself on other board. I physically connect two push buttons pin and ground with each other. But when i pressed one button second doesn't do any thing . If some one have any idea then please share. Below is the code.
// Set up the button as interruptible
P1DIR &= ~BIT1; // P1DIR1 HAS 0 VALUE
P1REN |= BIT1; //P1REN1 HAS 1 VALUE
P1IES &= BIT1; //P1IES = 0 ALL PINS HAVE 0 VALUE
P1IFG = 0;
P1OUT |= BIT1; // P1OUT1 HAS 1 VALUE
P1IE |= BIT1; // P1IE1 HAS 1 VALUE WHILE ALL HAVE 0 VALUE