Serial Communication 9S08QG8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Serial Communication 9S08QG8

1,580 Views
scotty5555
Contributor I
Hi ,
 
I am new to this so need some help but have some c programming experience.I have a 9S08QG8 and the demo board 9S08QG8..
 
I want to connect the demo board to hyper terminal and use the RS232 function to make serial communication.
 
I want to output  a message to hyper terminal and then wait for a key to be pressed followed by Enter and respond with another message depending on the key pressed.Basically a menu system...
 
I understand how to do the menu system using say the switch statement but don't now how to set up the RS232 port and how to send and recieve using this chip.
 
Can anyone advise or give me a small serial program that works that i can modify for my needs ?
 
Thanks,
             Scotty5555
Labels (1)
0 Kudos
2 Replies

350 Views
peg
Senior Contributor IV

Hi Scotty,

This should suit you perfectly.

 

DEMO9S08QG8_APP.zip

DEMO9S08QG8_APP.pdf

Message Edited by t.dowe on 2009-10-27 12:23 PM
0 Kudos

350 Views
scotty5555
Contributor I
Thanks Peg ,Perfect...
 
Scotty5555
0 Kudos