lknds

Dependencies:   mbed TrapezoidControl Pulse QEI

Revision:
21:e3b58d675c1c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Communication/RS485/LineHub/LineHub.h	Mon Sep 09 00:19:28 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