Showing results for 
Search instead for 
Did you mean: 

Serial Interfaces

How do i write a program to send an array of hexadecimal data to COM1 and read them via COM2?
0 Kudos
Message 1 of 2
first you have to connect the right cable between com1 and com2. It has to be a null modem cable. Connect pin 2 (com1) to pin 3 (com2) on the 9 pin connector and pin 3 (com1) to pin 2 (com2) and pin 5 to pin 5.
You have no handshake connected yet but that is not required.
Now take the example on serial communication from the examples and up you go.
greetings from the Netherlands
Message 2 of 2