RemoteIR.

Dependents:   RemoteIR_TestProgram SerialGPS_TestProgram StarBoardOrangeExpansion1 Door_Slamming_Device ... more

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 #ifndef _REMOTE_IR_H_
00009 #define _REMOTE_IR_H_
00010 
00011 class RemoteIR {
00012 public:
00013 
00014     typedef enum {
00015         UNKNOWN,
00016         NEC,
00017         NEC_REPEAT,
00018         AEHA,
00019         AEHA_REPEAT,
00020         SONY
00021     } Format;
00022 
00023     static const int TUS_NEC = 562;
00024     static const int TUS_AEHA = 425;
00025     static const int TUS_SONY = 600;
00026 
00027 private:
00028     RemoteIR();
00029 };
00030 
00031 #endif