Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed TrapezoidControl QEI
Diff: Communication/RS485/LineHub/LineHub.h
- Revision:
- 21:1f1e9c585da8
--- /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