Wayne Lin / nvt_rs485

Dependents:   modbus-over-rs485-sample NTOUEE-mbed-modbus-RTU NuMaker-mbed-modbus-sample NuMaker_NuWicam_Lite ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers nvt_rs485.h Source File

nvt_rs485.h

00001 #ifndef NVTRS485_H
00002 #define NVTRS485_H
00003  
00004 #include "mbed.h"
00005 
00006 class NvtRS485 : public Serial {
00007 public:
00008     NvtRS485(PinName tx, PinName rx, PinName dir);
00009     virtual ~NvtRS485(void);
00010     int set_rs485_mode(PinName dir);
00011 };
00012 
00013 #endif //NVTRS485_H