this code lights up the led on the msp430 for each sensor