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.

Dependencies:   mbed

Fork of RS485Test by Richard Ellingworth

mbed.bld

Committer:
RichardE
Date:
2012-11-05
Revision:
1:0e3453d2d0cc
Parent:
0:0db8165396ae

File content as of revision 1:0e3453d2d0cc:

http://mbed.org/users/mbed_official/code/mbed/builds/e2ed12d17f06