gyo
Diff: SBDBT.h
- Revision:
- 7:30e05998769b
- Parent:
- 6:da71294502ee
- Child:
- 8:f3e2b37e206f
--- a/SBDBT.h Sun Aug 13 03:35:38 2017 +0000 +++ b/SBDBT.h Tue Aug 15 04:13:58 2017 +0000 @@ -2,18 +2,14 @@ #define INCLDUED_SBDBT_h_ #include "mbed.h" -#define MARU_ 0x4000 -#define BATU_ 0x2000 -#define SIKAKU_ 0x0001 -#define SANKAKU_ 0x1000 -#define L1_ 0x0002 -#define L2_ 0x0004 -#define R1_ 0x0008 -#define R2_ 0x0010 -#define UE_ 0x0100 -#define SITA_ 0x0200 -#define MIGI_ 0x0400 -#define HIDARI_ 0x0800 +//data[1] + + +//data[2] +#define UE_ 0x01 +#define SITA_ 0x02 +#define MIGI_ 0x04 +#define HIDARI_ 0x08 namespace raven { @@ -34,7 +30,6 @@ SBDBT(PinName, PinName); SBDBT(PinName, PinName, int); void getf(); - int sw(); void print(); char maru(); char batu();