Shivanand Gowda / RS485

Dependents:   Multiple_7SegDisplays

Fork of RS485 by Stefan Mueller

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RS485.h Source File

RS485.h

00001 #include <mbed.h>
00002 class RS485 : public Serial
00003 {
00004 public:
00005    
00006        RS485(PinName tx, PinName rx, PinName mode, const char *name=NULL);
00007     
00008 protected:    
00009     virtual int _putc(int c);
00010     virtual int _getc();
00011 
00012 private:
00013     DigitalOut m_modePin;
00014          
00015 };