daad

Dependencies:   mbed TrapezoidControl QEI

Revision:
21:1f1e9c585da8
diff -r 05080fd09347 -r 1f1e9c585da8 Communication/RS485/LineHub/LineHub.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Communication/RS485/LineHub/LineHub.h	Fri Sep 13 01:36:42 2019 +0000
@@ -0,0 +1,21 @@
+#ifndef  LINEHUB_H_
+#define  LINEHUB_H_
+
+#include "mbed.h"
+#include "../../../CommonLibraries/RingBuffer/RingBuffer.h"
+
+extern int lineData[8];
+
+extern RINGBUFFER::RingBuffer RS485LineBuffer;
+
+namespace LINEHUB {
+    
+    class LineHub {
+        public:
+        static void Initialize();
+        static void Update();
+        static int GetPara(int num);
+    };
+}
+
+#endif //LINEHUB_H_
\ No newline at end of file