Miya Miyagawa
/
mainboardnrp2018
aaaaa
Diff: Input/Switch/Switch.cpp
- Revision:
- 9:6901b1dfa688
- Parent:
- 1:e73cf2469f83
- Child:
- 10:53a92f2ab1c4
--- a/Input/Switch/Switch.cpp Sat Feb 24 07:32:11 2018 +0000 +++ b/Input/Switch/Switch.cpp Mon Feb 18 05:40:03 2019 +0000 @@ -2,12 +2,12 @@ #include <stdint.h> DigitalIn limitSw[] = { - DigitalIn(LIMITSW0_PIN), - DigitalIn(LIMITSW1_PIN), DigitalIn(LIMITSW2_PIN), DigitalIn(LIMITSW3_PIN), }; + + namespace SWITCH { void Switch::Initialize(void) { @@ -18,3 +18,6 @@ return mySwitch ? false : true; } } + + +