gyo
SBDBT.h@5:a4a994824c96, 2017-05-08 (annotated)
- Committer:
- gotto0
- Date:
- Mon May 08 07:50:22 2017 +0000
- Revision:
- 5:a4a994824c96
- Parent:
- 4:3f384ebf4509
- Child:
- 6:da71294502ee
v1.0;
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 | 5:a4a994824c96 | 24 | char maru(); |
gotto0 | 5:a4a994824c96 | 25 | char batu(); |
gotto0 | 5:a4a994824c96 | 26 | char sikaku(); |
gotto0 | 5:a4a994824c96 | 27 | char sankaku(); |
gotto0 | 5:a4a994824c96 | 28 | char L1(); |
gotto0 | 5:a4a994824c96 | 29 | char L2(); |
gotto0 | 5:a4a994824c96 | 30 | char R1(); |
gotto0 | 5:a4a994824c96 | 31 | char R2(); |
gotto0 | 5:a4a994824c96 | 32 | char ue(); |
gotto0 | 5:a4a994824c96 | 33 | char sita(); |
gotto0 | 5:a4a994824c96 | 34 | char migi(); |
gotto0 | 5:a4a994824c96 | 35 | char hidari(); |
gotto0 | 5:a4a994824c96 | 36 | char rs_x(); |
gotto0 | 5:a4a994824c96 | 37 | char rs_y(); |
gotto0 | 5:a4a994824c96 | 38 | char ls_x(); |
gotto0 | 5:a4a994824c96 | 39 | char ls_y(); |
gotto0 | 0:afe58893bfe7 | 40 | ~SBDBT(); |
gotto0 | 0:afe58893bfe7 | 41 | }; |
gotto0 | 0:afe58893bfe7 | 42 | |
gotto0 | 0:afe58893bfe7 | 43 | }//namespace |
gotto0 | 0:afe58893bfe7 | 44 | #endif |