MSP430 using various peripherals to follow a voltage.