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.
RemoteIR/RemoteIR.h@1:4e6dc3e5ab7c, 2014-08-24 (annotated)
- Committer:
- yuki
- Date:
- Sun Aug 24 06:58:30 2014 +0000
- Revision:
- 1:4e6dc3e5ab7c
????;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| yuki | 1:4e6dc3e5ab7c | 1 | /** |
| yuki | 1:4e6dc3e5ab7c | 2 | * IR remote common class (Version 0.0.4) |
| yuki | 1:4e6dc3e5ab7c | 3 | * |
| yuki | 1:4e6dc3e5ab7c | 4 | * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) |
| yuki | 1:4e6dc3e5ab7c | 5 | * http://shinta.main.jp/ |
| yuki | 1:4e6dc3e5ab7c | 6 | */ |
| yuki | 1:4e6dc3e5ab7c | 7 | |
| yuki | 1:4e6dc3e5ab7c | 8 | #ifndef _REMOTE_IR_H_ |
| yuki | 1:4e6dc3e5ab7c | 9 | #define _REMOTE_IR_H_ |
| yuki | 1:4e6dc3e5ab7c | 10 | |
| yuki | 1:4e6dc3e5ab7c | 11 | class RemoteIR { |
| yuki | 1:4e6dc3e5ab7c | 12 | public: |
| yuki | 1:4e6dc3e5ab7c | 13 | |
| yuki | 1:4e6dc3e5ab7c | 14 | typedef enum { |
| yuki | 1:4e6dc3e5ab7c | 15 | UNKNOWN, |
| yuki | 1:4e6dc3e5ab7c | 16 | NEC, |
| yuki | 1:4e6dc3e5ab7c | 17 | NEC_REPEAT, |
| yuki | 1:4e6dc3e5ab7c | 18 | AEHA, |
| yuki | 1:4e6dc3e5ab7c | 19 | AEHA_REPEAT, |
| yuki | 1:4e6dc3e5ab7c | 20 | SONY |
| yuki | 1:4e6dc3e5ab7c | 21 | } Format; |
| yuki | 1:4e6dc3e5ab7c | 22 | |
| yuki | 1:4e6dc3e5ab7c | 23 | static const int TUS_NEC = 562; |
| yuki | 1:4e6dc3e5ab7c | 24 | static const int TUS_AEHA = 425; |
| yuki | 1:4e6dc3e5ab7c | 25 | static const int TUS_SONY = 600; |
| yuki | 1:4e6dc3e5ab7c | 26 | |
| yuki | 1:4e6dc3e5ab7c | 27 | private: |
| yuki | 1:4e6dc3e5ab7c | 28 | RemoteIR(); |
| yuki | 1:4e6dc3e5ab7c | 29 | }; |
| yuki | 1:4e6dc3e5ab7c | 30 | |
| yuki | 1:4e6dc3e5ab7c | 31 | #endif |