v01

Revision:
0:dd6924abf791
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TM_Button_Sensor.h	Sat May 24 07:27:45 2014 +0000
@@ -0,0 +1,21 @@
+#ifndef INCLUDED_TM_Button_Sensor_H
+#define INCLUDED_TM_BUtton_Sensor_H
+ 
+#include "mbed.h"
+ 
+class TM_Button_Sensor
+{
+
+    private:
+        DigitalIn TM_Button_pins;
+    
+    //これはLED(p19);のように使う。
+    public:
+        TM_Button_Sensor_obj(PinName pin);
+    
+    void ON();    
+    void OFF();
+    
+};
+ 
+#endif
\ No newline at end of file