愛莉 結城 / Mbed 2 deprecated MARY_IRReceive

Dependencies:   mbed

RemoteIR/RemoteIR.h

Committer:
yuki
Date:
2014-08-24
Revision:
1:4e6dc3e5ab7c

File content as of revision 1:4e6dc3e5ab7c:

/**
 * IR remote common class (Version 0.0.4)
 *
 * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
 * http://shinta.main.jp/
 */

#ifndef _REMOTE_IR_H_
#define _REMOTE_IR_H_

class RemoteIR {
public:

    typedef enum {
        UNKNOWN,
        NEC,
        NEC_REPEAT,
        AEHA,
        AEHA_REPEAT,
        SONY
    } Format;

    static const int TUS_NEC = 562;
    static const int TUS_AEHA = 425;
    static const int TUS_SONY = 600;

private:
    RemoteIR();
};

#endif