| Author |
Message |
Muneeb
Joined: 06 Nov 2003 Posts: 5
|
15 Nov 2003 2:29 help: PC & microcontroller serial communication |
|
|
|
|
i need help for serial communication between PC and a microcontroller
problem is my data is flowing in both directions how can i have some sort of handshaking so that no conflict of data occurs.I am using C language both on PC controller .In PC side i am trying to use function bioscom()
|
|
| Back to top |
|
 |
Google AdSense

|
15 Nov 2003 2:29 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
vkchau
Joined: 07 Jun 2003 Posts: 73 Helped: 2
|
16 Nov 2003 1:32 |
|
|
|
|
| You can use RTS and CTS to handshake. RTS (Request To Send) indicate PC has data and will send if uC ready. CTS (Clear To Send) indicate uC ready to receive that data.
|
|
| Back to top |
|
 |
ZeleC
Joined: 18 Dec 2002 Posts: 296 Helped: 2
|
16 Nov 2003 10:11 |
|
|
|
|
| What type of uC are u using?
|
|
| Back to top |
|
 |
gul hameed
Joined: 24 Nov 2003 Posts: 27
|
04 Dec 2003 19:47 Re: help: PC & microcontroller serial communication |
|
|
|
|
what kind of micro controller
u want asynchrous or sunchrous data transmition
secondly it is easy to controll serial port in vb
i advice u to use vb it is very eazy
gul hameed
|
|
| Back to top |
|
 |