exploratory code for the msp430 microcontroller