Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MainBoard2018_Auto_Master_A_new by
Communication/Controller/Mu/Mu.h@14:dfcec98f5aa9, 2018-10-21 (annotated)
- Committer:
- kishibekairohan
- Date:
- Sun Oct 21 02:14:15 2018 +0000
- Revision:
- 14:dfcec98f5aa9
- Parent:
- 0:669ef71cba68
aaaaaa
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 { |
| t_yamamoto | 0:669ef71cba68 | 8 | #define MU_TX PC_6 |
| t_yamamoto | 0:669ef71cba68 | 9 | #define MU_RX PC_7 |
| 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 |
