gyo
SBDBT.h@4:3f384ebf4509, 2017-05-06 (annotated)
- Committer:
- gotto0
- Date:
- Sat May 06 03:07:46 2017 +0000
- Revision:
- 4:3f384ebf4509
- Parent:
- 2:1472e7c5317d
- Child:
- 5:a4a994824c96
fix; private
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 | 2:1472e7c5317d | 15 | char *tmp; |
gotto0 | 2:1472e7c5317d | 16 | Serial *sr; |
gotto0 | 0:afe58893bfe7 | 17 | |
gotto0 | 0:afe58893bfe7 | 18 | public: |
gotto0 | 4:3f384ebf4509 | 19 | char readable; |
gotto0 | 1:8810976be033 | 20 | char *data; |
gotto0 | 0:afe58893bfe7 | 21 | SBDBT(PinName, PinName); |
gotto0 | 1:8810976be033 | 22 | SBDBT(PinName, PinName, int); |
gotto0 | 1:8810976be033 | 23 | void getf(); |
gotto0 | 0:afe58893bfe7 | 24 | ~SBDBT(); |
gotto0 | 0:afe58893bfe7 | 25 | }; |
gotto0 | 0:afe58893bfe7 | 26 | |
gotto0 | 0:afe58893bfe7 | 27 | }//namespace |
gotto0 | 0:afe58893bfe7 | 28 | #endif |