Here is what I had. This starts with the LEDs turned on, then turns them off (permanently) with the button. What joy when they finally turned off 
I think my biggest obstacle (besides minimal C skillz) was trying to visualize what was going on. I learned to use the debugger more, watching as registers changed.
Does anyone know where I can find a diagram with the S2 button on? I've looked all over the place.
@MrChips You mentioned making the code portable. I am interested, very. I don't know what that means, but I have a hunch. What do I do?
I think my biggest obstacle (besides minimal C skillz) was trying to visualize what was going on. I learned to use the debugger more, watching as registers changed.
Does anyone know where I can find a diagram with the S2 button on? I've looked all over the place.
@MrChips You mentioned making the code portable. I am interested, very. I don't know what that means, but I have a hunch. What do I do?
Code:
int main(void)
{
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
P2DIR = BIT1 + BIT4; //Set LEDs on breadboard to toggle
P1REN = BIT3; //Enable pullup resistor for the S2 button
P1OUT = BIT3; //Resistor to pullup???
while(1)
{
if((P1IN & BIT3)) //Checks for release - Executes when (P2IN & BIT3)
{
P2OUT |= BIT1 + BIT4; //Toggle LEDs
}
else
{
P2OUT = !(BIT1 + BIT4); //Shuts LEDs off
}
}
return 0;
}