MSP430 Embedded Programming Tutorial TUTORIAL
Serial Ports - Echo
In the previous tutorial, we had seen how to send out characters from A to Z. In this tutorial - a character will be sent out from the hyperterminal to the MSP430 at 9600 buad rate ( No Parity and one stop bit) and the MSP430 will echo the character back.
Serial Port Echo Program
|
Copy paste this code in your IAR embedder system and run the code. Whatever you write on the Hyperterminal in echoed back by the MSP430.
Some light exercise - change the program so that it writes the next letter - for example if you write A - it should echo B.