Miya Miyagawa
/
mainboardnrp2018
aaaaa
Diff: Input/Switch/Switch.h
- Revision:
- 10:53a92f2ab1c4
- Parent:
- 9:6901b1dfa688
--- a/Input/Switch/Switch.h Mon Feb 18 05:40:03 2019 +0000 +++ b/Input/Switch/Switch.h Thu Feb 21 10:06:09 2019 +0000 @@ -4,16 +4,15 @@ #include "mbed.h" extern DigitalIn limitSw[]; -extern DigitalOut AIR[]; namespace SWITCH { - #define AIR1_PIN A7 - #define AIR2_PIN A6 - #define LIMITSW2_PIN A5 - #define LIMITSW3_PIN A4 + #define LIMITSW0_PIN A7 + #define LIMITSW1_PIN A6 +// #define LIMITSW2_PIN A5 +// #define LIMITSW3_PIN A4 - #define MOUNTING_LIMITSW_NUM 4 + #define MOUNTING_LIMITSW_NUM 2 class Switch { @@ -21,11 +20,6 @@ static void Initialize(void); static bool checkPushed(int mySwitch); }; - } - - - - -#endif +#endif \ No newline at end of file