aa
Dependencies: mbed TrapezoidControl QEI
Communication/RS485/LineHub/LineHub.h@43:677f7446612e, 2019-10-02 (annotated)
- Committer:
- yabahiro
- Date:
- Wed Oct 02 01:53:59 2019 +0000
- Revision:
- 43:677f7446612e
- Parent:
- 21:1f1e9c585da8
yey
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_ |