Miya Miyagawa
/
mainboardnrp2018
aaaaa
Diff: Input/Switch/Switch.h
- Revision:
- 9:6901b1dfa688
- Parent:
- 1:e73cf2469f83
- Child:
- 10:53a92f2ab1c4
--- a/Input/Switch/Switch.h Sat Feb 24 07:32:11 2018 +0000 +++ b/Input/Switch/Switch.h Mon Feb 18 05:40:03 2019 +0000 @@ -4,11 +4,12 @@ #include "mbed.h" extern DigitalIn limitSw[]; +extern DigitalOut AIR[]; namespace SWITCH { - #define LIMITSW0_PIN A7 - #define LIMITSW1_PIN A6 + #define AIR1_PIN A7 + #define AIR2_PIN A6 #define LIMITSW2_PIN A5 #define LIMITSW3_PIN A4 @@ -20,6 +21,11 @@ static void Initialize(void); static bool checkPushed(int mySwitch); }; + } + + + + #endif