This textbook example toggles between the red and green LEDs present on most MSP430 models.
This example writes to UART, printing to the virtual UART console as it would output on the UART hardware.