I've connected a bluetooth module to my MSP430, and i'm trying to toggle an LED on and off once it receives a single. At the moment I can get the LED to come on through P1.3 however I can not get it to turn off again.
Any help will be greatly appreciated.
This is the code i'm using;
P1SEL &= ~0x08; // Select Port 1 P1.3 (push button)
P1IE |= 0x08; // Port 1 Interrupt Enable P1.3 (push button)
__enable_interrupt(); // Enable interrupts
__bis_SR_register(GIE); // interrupts enabled\