v01

TM_Button_Sensor.h

Committer:
samtoshi
Date:
2014-05-24
Revision:
0:dd6924abf791

File content as of revision 0:dd6924abf791:

#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