NuMaker RS485 lib

Dependents:   NuMaker-mbed-modbus-sample

Revision:
1:783999122629
Parent:
0:22be4d425fdb
Child:
4:3bdf456890b6
--- a/nvt_rs485.h	Tue Sep 20 01:17:32 2016 +0000
+++ b/nvt_rs485.h	Wed Sep 21 03:58:51 2016 +0000
@@ -4,15 +4,8 @@
 #include "mbed.h"
 
 class NvtRS485 : public Serial {
-
 public:
-    enum E_PFM {
-        NUC472,
-        CNT
-    };
-
-    E_PFM m_ePFMID;
-    NvtRS485(PinName tx, PinName rx, PinName dir, E_PFM pfm=NUC472);
+    NvtRS485(PinName tx, PinName rx, PinName dir);
     virtual ~NvtRS485(void);
     int set_rs485_mode(PinName dir);
 };