IRC Helicopter "HonyBee" Propo decode test program

Dependencies:   RemoteIR mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RemoteIR.h Source File

RemoteIR.h

00001 /**
00002  * IR remote common class (Version 0.0.4)
00003  *
00004  * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
00005  * http://shinta.main.jp/
00006  *
00007  * -------------------------------------------------------
00008  * 130616 suupen
00009  * IRC Helicopter "SWIFT" Propo support
00010  *  Conditional compilation 
00011  *      "SWIFT_PROTCOL"
00012  *      "IR_RAW_DATA_ANALYSIS"
00013  *--------------------------------------------------------
00014  */
00015 
00016 #ifndef _REMOTE_IR_H_
00017 #define _REMOTE_IR_H_
00018 
00019 #define SWIFT_PROTCOL   // IRC Helicopter SWIFT protcol
00020 
00021 
00022 class RemoteIR {
00023 public:
00024 
00025     typedef enum {
00026         UNKNOWN,
00027         NEC,
00028         NEC_REPEAT,
00029         AEHA,
00030         AEHA_REPEAT,
00031         SONY,
00032 #ifdef SWIFT_PROTCOL
00033         SWIFT,
00034 #endif // SWIFT_PROTCOL
00035      } Format;
00036 
00037     static const int TUS_NEC = 562;
00038     static const int TUS_AEHA = 425;
00039     static const int TUS_SONY = 600;
00040 #ifdef SWIFT_PROTCOL
00041     static const int TUS_SWIFT = 350;
00042 #endif // SWIFT_PROTCOL
00043 
00044 private:
00045     RemoteIR();
00046 };
00047 
00048 #endif