ジャパンオープン用のメインプログラム

Dependencies:   mbed AQM1602 HMC6352 PID

Revision:
0:ea35c18c85fc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/minilib/switch.h	Sat Feb 27 09:14:37 2016 +0000
@@ -0,0 +1,11 @@
+#ifndef _SWITCH_H_
+#define _SWITCH_H_
+
+void Sw_sample(void);
+// return number of rising edges
+uint8_t Sw_count(uint8_t pin);
+// return the debounced status
+
+uint8_t ReadSw(void);
+uint8_t CountSw(uint8_t pin);
+#endif /*_SWITCH_H_*/
\ No newline at end of file