My useful library.

Revision:
0:bc8a5f269990
Child:
1:1cd6941022b3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RS485_usrlib.h	Sun Feb 26 09:53:19 2017 +0000
@@ -0,0 +1,19 @@
+
+#ifndef __RS485_usrlib_H__
+#define __RS485_usrlib_H__
+#include "mbed.h"
+#include "Serial.h"
+
+extern void onInterrupt();
+
+class RS485{
+private:
+    Serial _serial;
+    DigitalOut _rede;
+public:
+    int buffer[5];
+    RS485(PinName,PinName,PinName);
+    void Transmit_data(int,int *);
+    int getc();
+};
+#endif
\ No newline at end of file