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.
Fork of RemoteIR by
RemoteIR.h@12:1c4e0b1da34b, 2017-01-30 (annotated)
- Committer:
- E8
- Date:
- Mon Jan 30 12:52:13 2017 +0000
- Revision:
- 12:1c4e0b1da34b
- Parent:
- 11:268cc2ab63bd
E8WATS
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 |