IRremote
Diff: IRremote.h
- Revision:
- 0:fe20e27c6295
- Child:
- 4:10a04fa41876
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IRremote.h Fri Nov 08 05:09:02 2013 +0000 @@ -0,0 +1,18 @@ +#ifndef MBED_IRremote_H +#define MBED_IRremote_H + +#include "mbed.h" + +class IRremote { +public: + IRremote(PinName pin); + char read(int ir_i); + +private: + InterruptIn _pin; + Ticker IR_timer; +}; + +#endif + + \ No newline at end of file