Fixed issues with the TI Launchpad code.