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
mbed.bld@1:0e3453d2d0cc, 2012-11-05 (annotated)
- Committer:
- RichardE
- Date:
- Mon Nov 05 20:57:14 2012 +0000
- Revision:
- 1:0e3453d2d0cc
- Parent:
- 0:0db8165396ae
Transmits message at roughly 1 second intervals and other end receives OK.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RichardE | 0:0db8165396ae | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/e2ed12d17f06 |