button procedure library
button.h
- Committer:
- ChuckTimber
- Date:
- 2014-07-13
- Revision:
- 0:f57033bb0e05
- Child:
- 1:20c8438edaee
File content as of revision 0:f57033bb0e05:
#ifndef MBED_BUTTON_H #define MBED_BUTTON_H #include "mbed.h" /** class to make * The class use * * Example: * @code * @endcode */ namespace mbed { /* Class: BTN * A class witch uses */ class BTN { public: BTN(PinName pin); unsigned char CMD; unsigned char STAT; private: void sample_btn(void); unsigned char FIL; DigitalIn _Pin; Ticker _Tick; }; } #endif