nvt_rs485

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

nvt_rs485.h

Committer:
wclin
Date:
2017-10-06
Revision:
3:4c9d65e9275c
Parent:
1:783999122629

File content as of revision 3:4c9d65e9275c:

#ifndef NVTRS485_H
#define NVTRS485_H
 
#include "mbed.h"

class NvtRS485 : public Serial {
public:
    NvtRS485(PinName tx, PinName rx, PinName dir);
    virtual ~NvtRS485(void);
    int set_rs485_mode(PinName dir);
};

#endif //NVTRS485_H