to receive data in serial communication

i just got a sample code for serial communication from the link referred by the contributor JAN SIMON but the problem is i need to press a button to receive the data from another PC can any one tell which logic can be used to receive data from the terminal of other PC

Antworten (1)

Walter Roberson
Walter Roberson am 6 Feb. 2012

0 Stimmen

There is no special logic for this case. If you are using 9600 or faster then using hardware flow control is recommended.
If the two PCs are connected directly together then you need a "null modem cable".

1 Kommentar

PK
PK am 7 Feb. 2012
i tried the same and the baud is set to 9600 and any other baud is used am getting some garbage value

Melden Sie sich an, um zu kommentieren.

Gefragt:

PK
am 6 Feb. 2012

Bearbeitet:

am 2 Okt. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by