Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Jan 13, 2004 7:21 am |
|
|
You have to setup the UART. With CCS you can use the #use rs232 directive. See the manual for reference. To have the interrupt "fire", you need to enable the receive interrupt and enable global interrupts. Take a look at "EX_SISR.C" in your examples directory. It shows how to do what you want. Also, this board has a search feature that you can use to find the information. Serial communications have been discussed quite a few times here. There should be many examples. You can search for "ttelmah" and the author. He has posted numerous examples here. |
|