![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
赤ゾーンを青ゾーン仕様に
Communication/Controller/Mu/Mu.h@54:4167f10ecad0, 2019-11-17 (annotated)
- Committer:
- yabahiro
- Date:
- Sun Nov 17 13:02:26 2019 +0000
- Revision:
- 54:4167f10ecad0
- Parent:
- 16:3f2c2d89372b
aa
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
t_yamamoto | 0:669ef71cba68 | 1 | #ifndef MU_H_ |
t_yamamoto | 0:669ef71cba68 | 2 | #define MU_H_ |
t_yamamoto | 0:669ef71cba68 | 3 | |
t_yamamoto | 0:669ef71cba68 | 4 | #include <stdint.h> |
t_yamamoto | 0:669ef71cba68 | 5 | #include "mbed.h" |
t_yamamoto | 0:669ef71cba68 | 6 | |
t_yamamoto | 0:669ef71cba68 | 7 | namespace MU { |
kishibekairohan | 16:3f2c2d89372b | 8 | #define MU_TX PA_0 |
kishibekairohan | 16:3f2c2d89372b | 9 | #define MU_RX PA_1 |
t_yamamoto | 0:669ef71cba68 | 10 | |
t_yamamoto | 0:669ef71cba68 | 11 | class Mu { |
t_yamamoto | 0:669ef71cba68 | 12 | public: |
t_yamamoto | 0:669ef71cba68 | 13 | static void Initialize(uint8_t select); |
t_yamamoto | 0:669ef71cba68 | 14 | static void SendCommand(char *command, char *data, uint8_t dataLength); |
t_yamamoto | 0:669ef71cba68 | 15 | }; |
t_yamamoto | 0:669ef71cba68 | 16 | |
t_yamamoto | 0:669ef71cba68 | 17 | extern Serial MuUart; |
t_yamamoto | 0:669ef71cba68 | 18 | } |
t_yamamoto | 0:669ef71cba68 | 19 | |
t_yamamoto | 0:669ef71cba68 | 20 | #endif |