Allows RS485 communication using MAX485 chip
Dependents: Multiple_7SegDisplays
Fork of RS485 by
RS485.h
- Committer:
- shivanandgowdakr
- Date:
- 2018-08-21
- Revision:
- 2:302837c859de
- Parent:
- 0:10a8f9128f73
File content as of revision 2:302837c859de:
#include <mbed.h> class RS485 : public Serial { public: RS485(PinName tx, PinName rx, PinName mode, const char *name=NULL); protected: virtual int _putc(int c); virtual int _getc(); private: DigitalOut m_modePin; };