Allows RS485 communication using MAX485 chip
Dependents: Multiple_7SegDisplays
Fork of RS485 by
Diff: RS485.h
- Revision:
- 2:302837c859de
- Parent:
- 0:10a8f9128f73
--- a/RS485.h Sat Nov 14 11:55:10 2015 +0000 +++ b/RS485.h Tue Aug 21 10:21:52 2018 +0000 @@ -2,16 +2,8 @@ class RS485 : public Serial { public: - /** Create a RS485 Serial port using MAX485, connected to the specified transmit and receive pins - * - * @param tx Transmit pin - * @param rx Receive pin - * @param mode Rx TX Mode pin - * - * @note - * Either tx or rx may be specified as NC if unused - */ - RS485(PinName tx, PinName rx, PinName mode, const char *name=NULL); + + RS485(PinName tx, PinName rx, PinName mode, const char *name=NULL); protected: virtual int _putc(int c);