gyo
SBDBT.h@1:8810976be033, 2017-05-06 (annotated)
- Committer:
- gotto0
- Date:
- Sat May 06 02:32:51 2017 +0000
- Revision:
- 1:8810976be033
- Parent:
- 0:afe58893bfe7
- Child:
- 2:1472e7c5317d
reworked
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gotto0 | 1:8810976be033 | 1 | #ifndef INCLDUED_SBDBT_h_ |
gotto0 | 1:8810976be033 | 2 | #define INCLDUED_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 | 1:8810976be033 | 12 | char length; |
gotto0 | 1:8810976be033 | 13 | char value; |
gotto0 | 1:8810976be033 | 14 | char position; |
gotto0 | 0:afe58893bfe7 | 15 | |
gotto0 | 0:afe58893bfe7 | 16 | public: |
gotto0 | 1:8810976be033 | 17 | char *data; |
gotto0 | 1:8810976be033 | 18 | char *olddata; |
gotto0 | 0:afe58893bfe7 | 19 | char flag; |
gotto0 | 0:afe58893bfe7 | 20 | Serial *sr; |
gotto0 | 0:afe58893bfe7 | 21 | |
gotto0 | 0:afe58893bfe7 | 22 | SBDBT(PinName, PinName); |
gotto0 | 1:8810976be033 | 23 | SBDBT(PinName, PinName, int); |
gotto0 | 1:8810976be033 | 24 | void getf(); |
gotto0 | 0:afe58893bfe7 | 25 | ~SBDBT(); |
gotto0 | 0:afe58893bfe7 | 26 | }; |
gotto0 | 0:afe58893bfe7 | 27 | |
gotto0 | 0:afe58893bfe7 | 28 | }//namespace |
gotto0 | 0:afe58893bfe7 | 29 | #endif |