forked RemoteIR
Fork of RemoteIR by
RemoteIR.h@12:d86179332137, 2018-03-17 (annotated)
- Committer:
- misodengaku
- Date:
- Sat Mar 17 14:42:15 2018 +0000
- Revision:
- 12:d86179332137
- Parent:
- 11:268cc2ab63bd
support level inversion
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| shintamainjp | 0:ec264f4ce158 | 1 | /** |
| shintamainjp | 9:dcfdac59ef74 | 2 | * IR remote common class (Version 0.0.4) |
| shintamainjp | 0:ec264f4ce158 | 3 | * |
| shintamainjp | 0:ec264f4ce158 | 4 | * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) |
| shintamainjp | 0:ec264f4ce158 | 5 | * http://shinta.main.jp/ |
| shintamainjp | 0:ec264f4ce158 | 6 | */ |
| shintamainjp | 0:ec264f4ce158 | 7 | |
| shintamainjp | 0:ec264f4ce158 | 8 | #ifndef _REMOTE_IR_H_ |
| shintamainjp | 0:ec264f4ce158 | 9 | #define _REMOTE_IR_H_ |
| shintamainjp | 0:ec264f4ce158 | 10 | |
| shintamainjp | 0:ec264f4ce158 | 11 | class RemoteIR { |
| shintamainjp | 0:ec264f4ce158 | 12 | public: |
| shintamainjp | 0:ec264f4ce158 | 13 | |
| shintamainjp | 0:ec264f4ce158 | 14 | typedef enum { |
| shintamainjp | 0:ec264f4ce158 | 15 | UNKNOWN, |
| shintamainjp | 0:ec264f4ce158 | 16 | NEC, |
| shintamainjp | 3:dfed23b157e6 | 17 | NEC_REPEAT, |
| shintamainjp | 0:ec264f4ce158 | 18 | AEHA, |
| shintamainjp | 3:dfed23b157e6 | 19 | AEHA_REPEAT, |
| shintamainjp | 0:ec264f4ce158 | 20 | SONY |
| shintamainjp | 0:ec264f4ce158 | 21 | } Format; |
| shintamainjp | 0:ec264f4ce158 | 22 | |
| shintamainjp | 11:268cc2ab63bd | 23 | static const int TUS_NEC = 562; |
| shintamainjp | 11:268cc2ab63bd | 24 | static const int TUS_AEHA = 425; |
| shintamainjp | 11:268cc2ab63bd | 25 | static const int TUS_SONY = 600; |
| shintamainjp | 11:268cc2ab63bd | 26 | |
| shintamainjp | 0:ec264f4ce158 | 27 | private: |
| shintamainjp | 0:ec264f4ce158 | 28 | RemoteIR(); |
| shintamainjp | 0:ec264f4ce158 | 29 | }; |
| shintamainjp | 0:ec264f4ce158 | 30 | |
| shintamainjp | 0:ec264f4ce158 | 31 | #endif |
miso dengaku
