gyo
SBDBT.h@0:afe58893bfe7, 2017-05-06 (annotated)
- Committer:
- gotto0
- Date:
- Sat May 06 02:12:51 2017 +0000
- Revision:
- 0:afe58893bfe7
- Child:
- 1:8810976be033
before rework
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gotto0 | 0:afe58893bfe7 | 1 | #ifndef INCLUDED_SBDBT_h_ |
gotto0 | 0:afe58893bfe7 | 2 | #define INCLUDED_SBDBT_h_ |
gotto0 | 0:afe58893bfe7 | 3 | #include "mbed.h" |
gotto0 | 0:afe58893bfe7 | 4 | |
gotto0 | 0:afe58893bfe7 | 5 | namespace raven |
gotto0 | 0:afe58893bfe7 | 6 | { |
gotto0 | 0:afe58893bfe7 | 7 | |
gotto0 | 0:afe58893bfe7 | 8 | class SBDBT |
gotto0 | 0:afe58893bfe7 | 9 | { |
gotto0 | 0:afe58893bfe7 | 10 | private: |
gotto0 | 0:afe58893bfe7 | 11 | char i; |
gotto0 | 0:afe58893bfe7 | 12 | |
gotto0 | 0:afe58893bfe7 | 13 | public: |
gotto0 | 0:afe58893bfe7 | 14 | char data[8]; |
gotto0 | 0:afe58893bfe7 | 15 | char olddata[8]; |
gotto0 | 0:afe58893bfe7 | 16 | char flag; |
gotto0 | 0:afe58893bfe7 | 17 | Serial *sr; |
gotto0 | 0:afe58893bfe7 | 18 | |
gotto0 | 0:afe58893bfe7 | 19 | SBDBT(PinName, PinName); |
gotto0 | 0:afe58893bfe7 | 20 | char check(); |
gotto0 | 0:afe58893bfe7 | 21 | void getd(); |
gotto0 | 0:afe58893bfe7 | 22 | ~SBDBT(); |
gotto0 | 0:afe58893bfe7 | 23 | }; |
gotto0 | 0:afe58893bfe7 | 24 | |
gotto0 | 0:afe58893bfe7 | 25 | |
gotto0 | 0:afe58893bfe7 | 26 | }//namespace |
gotto0 | 0:afe58893bfe7 | 27 | #endif |