chen ada
/
IR_remote_demo_code
使用红外接收库的一个demo code
Fork of IR_remote by
Diff: RemoteIR/RemoteIR.h
- Revision:
- 4:326b8df3add2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RemoteIR/RemoteIR.h Thu Jun 21 01:20:35 2018 +0000 @@ -0,0 +1,31 @@ +/** + * IR remote common class (Version 0.0.4) + * + * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) + * http://shinta.main.jp/ + */ + +#ifndef _REMOTE_IR_H_ +#define _REMOTE_IR_H_ + +class RemoteIR { +public: + + typedef enum { + UNKNOWN, + NEC, + NEC_REPEAT, + AEHA, + AEHA_REPEAT, + SONY + } Format; + + static const int TUS_NEC = 562; + static const int TUS_AEHA = 425; + static const int TUS_SONY = 600; + +private: + RemoteIR(); +}; + +#endif