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.
BusSerial.h@1:62db8d68f92e, 2020-03-06 (annotated)
- Committer:
- ttrist
- Date:
- Fri Mar 06 16:38:11 2020 +0000
- Revision:
- 1:62db8d68f92e
- Parent:
- 0:418bb20836bd
- Child:
- 2:6895c7ec9db1
2020/3/7 add SendBusSerial(~);
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ttrist | 0:418bb20836bd | 1 | #ifndef BusSerial_H |
| ttrist | 0:418bb20836bd | 2 | #define BusSerial_H |
| ttrist | 0:418bb20836bd | 3 | |
| ttrist | 0:418bb20836bd | 4 | #include "mbed.h" |
| ttrist | 0:418bb20836bd | 5 | #include "BufferedSerial.h" |
| ttrist | 0:418bb20836bd | 6 | |
| ttrist | 0:418bb20836bd | 7 | class BusSerial:public BufferedSerial |
| ttrist | 0:418bb20836bd | 8 | { |
| ttrist | 0:418bb20836bd | 9 | public: |
| ttrist | 0:418bb20836bd | 10 | BusSerial(PinName tx, PinName rx,Timer *timer); |
| ttrist | 0:418bb20836bd | 11 | void GetBusSerial(uint8_t *Argument_Array, int myHead_ID, int RecieveData_sizeof, int BusSerialTimeout); |
| ttrist | 1:62db8d68f92e | 12 | void SendBusSerial(uint8_t *Argument_Array ,int RecieveData_sizeof); |
| ttrist | 0:418bb20836bd | 13 | |
| ttrist | 0:418bb20836bd | 14 | private: |
| ttrist | 0:418bb20836bd | 15 | Timer *_timer; |
| ttrist | 0:418bb20836bd | 16 | }; |
| ttrist | 0:418bb20836bd | 17 | |
| ttrist | 0:418bb20836bd | 18 | #endif |