Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: PCF8583_rtc mbed
Diff: IRremote.h
- Revision:
- 2:4184f92440a1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IRremote.h Sun Feb 23 21:28:26 2014 +0000 @@ -0,0 +1,20 @@ +//#ifndef MBED_IRremote_H +//#define MBED_IRremote_H + +#include <mbed.h> + +class IRremote { +public: + IRremote(PinName pin); + char read(int ir_i); + char readclear(int ir_i); + void clear(); + +private: + InterruptIn _pin; + Ticker IR_timer; +}; + +//#endif + + \ No newline at end of file