Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Switch.h
00001 #ifndef SWITCH_H_ 00002 #define SWITCH_H_ 00003 00004 #include "mbed.h" 00005 00006 extern DigitalIn limitSw[]; 00007 00008 namespace SWITCH 00009 { 00010 #define LIMITSW0_PIN A7 00011 #define LIMITSW1_PIN A6 00012 #define LIMITSW2_PIN A5 00013 #define LIMITSW3_PIN A4 00014 00015 #define MOUNTING_LIMITSW_NUM 4 00016 00017 class Switch 00018 { 00019 public: 00020 static void Initialize(void); 00021 static bool checkPushed(int mySwitch); 00022 }; 00023 } 00024 00025 #endif
Generated on Fri Jul 15 2022 17:22:44 by
1.7.2