lknds
Dependencies: mbed TrapezoidControl Pulse QEI
Communication/RS485/LineHub/LineHub.h@21:e3b58d675c1c, 2019-09-09 (annotated)
- Committer:
- M_souta
- Date:
- Mon Sep 09 00:19:28 2019 +0000
- Revision:
- 21:e3b58d675c1c
u
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
M_souta | 21:e3b58d675c1c | 1 | #ifndef LINEHUB_H_ |
M_souta | 21:e3b58d675c1c | 2 | #define LINEHUB_H_ |
M_souta | 21:e3b58d675c1c | 3 | |
M_souta | 21:e3b58d675c1c | 4 | #include "mbed.h" |
M_souta | 21:e3b58d675c1c | 5 | #include "../../../CommonLibraries/RingBuffer/RingBuffer.h" |
M_souta | 21:e3b58d675c1c | 6 | |
M_souta | 21:e3b58d675c1c | 7 | extern int lineData[8]; |
M_souta | 21:e3b58d675c1c | 8 | |
M_souta | 21:e3b58d675c1c | 9 | extern RINGBUFFER::RingBuffer RS485LineBuffer; |
M_souta | 21:e3b58d675c1c | 10 | |
M_souta | 21:e3b58d675c1c | 11 | namespace LINEHUB { |
M_souta | 21:e3b58d675c1c | 12 | |
M_souta | 21:e3b58d675c1c | 13 | class LineHub { |
M_souta | 21:e3b58d675c1c | 14 | public: |
M_souta | 21:e3b58d675c1c | 15 | static void Initialize(); |
M_souta | 21:e3b58d675c1c | 16 | static void Update(); |
M_souta | 21:e3b58d675c1c | 17 | static int GetPara(int num); |
M_souta | 21:e3b58d675c1c | 18 | }; |
M_souta | 21:e3b58d675c1c | 19 | } |
M_souta | 21:e3b58d675c1c | 20 | |
M_souta | 21:e3b58d675c1c | 21 | #endif //LINEHUB_H_ |