Miya Miyagawa
/
OREWOTAOSITAI
aaaaa
Input/Switch/Switch.h
- Committer:
- t_yamamoto
- Date:
- 2018-01-16
- Revision:
- 1:e73cf2469f83
- Parent:
- 0:562021ed1ba9
- Child:
- 11:88f17bc0724f
File content as of revision 1:e73cf2469f83:
#ifndef SWITCH_H_ #define SWITCH_H_ #include "mbed.h" extern DigitalIn limitSw[]; namespace SWITCH { #define LIMITSW0_PIN A7 #define LIMITSW1_PIN A6 #define LIMITSW2_PIN A5 #define LIMITSW3_PIN A4 #define MOUNTING_LIMITSW_NUM 4 class Switch { public: static void Initialize(void); static bool checkPushed(int mySwitch); }; } #endif