I trying to use the button count code with a Sparkfun backpack and 4x20 lcd. I use the gcc compiler and got a good compile (changed out the __delay_cycles() ) except for an "invalid use of void"
Here is the code snip
// Update the button press count, and toggle LEDs, when the button is pressed
#ifdef __MSP430__
interrupt (PORT1_VECTOR) PORT_1 (void) {
#else
#pragma vector=PORT1_VECTOR
__interrupt void PORT1_ISR(void) {
#endif
buttonPresses++;
P1OUT ^= BIT0;
P1OUT ^= BIT6;
P1IFG = 0; // clear interrupt
__bic_SR_register_on_exit(LPM