RemotoIR Libraryに、IRC Helicopter Propo の受信処理と、受信パルス幅測定処理を追加したものです。

Dependents:   SwiftPropoIR_TestProgram irRawDataDisplay spinner2 LPC1114_ir-spinne_main-propo

Fork of RemoteIR by Shinichiro Nakamura

RemoteIR.h

Committer:
suupen
Date:
2013-08-03
Revision:
13:ec76e93a4d7c
Parent:
12:2379e13b8b34

File content as of revision 13:ec76e93a4d7c:

/**
 * 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