Simple code for MSP430 microcontroller and schematic.