aa
Dependencies: mbed TrapezoidControl QEI
Communication/RS485/LineHub/LineHub.h@46:7d05e33f8305, 2019-10-24 (annotated)
- Committer:
- yabahiro
- Date:
- Thu Oct 24 12:16:08 2019 +0000
- Revision:
- 46:7d05e33f8305
- Parent:
- 21:1f1e9c585da8
qa
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_ |