Maker Pro
Maker Pro

help in serial data communication

G

GHULAM HUSSAIN

I need help in serail data communication of micro-controller 89c51
with PC by using max232. I also need some code example of serial port
communcation of PC in c++ or c.
Thanks
 
R

Rene Tschaggelar

GHULAM said:
I need help in serail data communication of micro-controller 89c51
with PC by using max232. I also need some code example of serial port
communcation of PC in c++ or c.


GHULAM,
There are just a few registers to set up.
What do you set up and how ?
Do you have a scope to measure what comes out ?

Rene
 
T

The Real Andy

GHULAM HUSSAIN said:
I need help in serail data communication of micro-controller 89c51
with PC by using max232. I also need some code example of serial port
communcation of PC in c++ or c.
Thanks

I am assuming you want some code for the PC. What OS are you using? If you
are using Microsoft, check out the MSDN (www.msdn.microsoft.com) for
information. MS have some commses class which works really well.

For Win32, check this out,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/htm
l/msdn_serial.asp
 
G

GHULAM HUSSAIN

Rene Tschaggelar said:
GHULAM,
There are just a few registers to set up.
What do you set up and how ?
Do you have a scope to measure what comes out ?

Rene

i am unable to find help.please provide me a program.
 
Top