Very simple test program that transmits a message at regular intervals over an RS485 datalink. Turns off the transmitter 600 microseconds after the last byte in the transmission is put into the TX buffer. This may need adjusting. A much better solution would be to read the register that tells you when the transmitter is empty but I haven't figured this out yet.
Fork of RS485Test by
History
Transmits message at roughly 1 second intervals and other end receives OK.
2012-11-05, by RichardE [Mon, 05 Nov 2012 20:57:14 +0000] rev 1
Transmits message at roughly 1 second intervals and other end receives OK.
Very simple test program that sends a message over an RS485 datalink.
2012-11-05, by RichardE [Mon, 05 Nov 2012 12:27:11 +0000] rev 0
Very simple test program that sends a message over an RS485 datalink.