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.
Dependents: SwiftPropoIR_TestProgram irRawDataDisplay spinner2 LPC1114_ir-spinne_main-propo
Fork of RemoteIR by
RemoteIR.h
- Committer:
- suupen
- Date:
- 2013-06-23
- Revision:
- 12:2379e13b8b34
- Parent:
- 11:268cc2ab63bd
File content as of revision 12:2379e13b8b34:
/**
* IR remote common class (Version 0.0.4)
*
* Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
* http://shinta.main.jp/
*
* -------------------------------------------------------
* 130616 suupen
* IRC Helicopter "SWIFT" Propo support
* Conditional compilation
* "SWIFT_PROTCOL"
* "IR_RAW_DATA_ANALYSIS"
*--------------------------------------------------------
*/
#ifndef _REMOTE_IR_H_
#define _REMOTE_IR_H_
#define SWIFT_PROTCOL // IRC Helicopter SWIFT protcol
class RemoteIR {
public:
typedef enum {
UNKNOWN,
NEC,
NEC_REPEAT,
AEHA,
AEHA_REPEAT,
SONY,
#ifdef SWIFT_PROTCOL
SWIFT,
#endif // SWIFT_PROTCOL
} Format;
static const int TUS_NEC = 562;
static const int TUS_AEHA = 425;
static const int TUS_SONY = 600;
#ifdef SWIFT_PROTCOL
static const int TUS_SWIFT = 350;
#endif // SWIFT_PROTCOL
private:
RemoteIR();
};
#endif
