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