#Include LibraryLunchboxCommon.h
#Include LibraryLunchboxCommon.h
h>
#include <msp430.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
while(1)
{
}
if(!(P1IN & SW)) // If SW is Pressed
{
__delay_cycle(20000);
while(!(P1IN & SW));
__delay_cycle(20000);
P1OUT ^= LED2; // Toggle LED
}
}
}