RemotoIR Libraryに、IRC Helicopter Propo の受信処理と、受信パルス幅測定処理を追加したものです。
Dependents: SwiftPropoIR_TestProgram irRawDataDisplay spinner2 LPC1114_ir-spinne_main-propo
Fork of RemoteIR by
Diff: RemoteIR.h
- Revision:
- 12:2379e13b8b34
- Parent:
- 11:268cc2ab63bd
--- a/RemoteIR.h Mon Sep 20 00:54:59 2010 +0000 +++ b/RemoteIR.h Sun Jun 23 07:23:56 2013 +0000 @@ -3,11 +3,22 @@ * * 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: @@ -17,12 +28,18 @@ NEC_REPEAT, AEHA, AEHA_REPEAT, - SONY - } Format; + 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();