Projet AutoStart pour projecteur LG

Dependencies:   mbed

Committer:
nnguyen
Date:
Mon Jul 03 16:17:40 2017 +0000
Revision:
0:f09b7c760de7
AutoStart

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nnguyen 0:f09b7c760de7 1 /**
nnguyen 0:f09b7c760de7 2 * IR remote common class (Version 0.0.4)
nnguyen 0:f09b7c760de7 3 *
nnguyen 0:f09b7c760de7 4 * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
nnguyen 0:f09b7c760de7 5 * http://shinta.main.jp/
nnguyen 0:f09b7c760de7 6 */
nnguyen 0:f09b7c760de7 7
nnguyen 0:f09b7c760de7 8 #ifndef _REMOTE_IR_H_
nnguyen 0:f09b7c760de7 9 #define _REMOTE_IR_H_
nnguyen 0:f09b7c760de7 10
nnguyen 0:f09b7c760de7 11 class RemoteIR {
nnguyen 0:f09b7c760de7 12 public:
nnguyen 0:f09b7c760de7 13
nnguyen 0:f09b7c760de7 14 typedef enum {
nnguyen 0:f09b7c760de7 15 UNKNOWN,
nnguyen 0:f09b7c760de7 16 NEC,
nnguyen 0:f09b7c760de7 17 NEC_REPEAT,
nnguyen 0:f09b7c760de7 18 AEHA,
nnguyen 0:f09b7c760de7 19 AEHA_REPEAT,
nnguyen 0:f09b7c760de7 20 SONY
nnguyen 0:f09b7c760de7 21 } Format;
nnguyen 0:f09b7c760de7 22
nnguyen 0:f09b7c760de7 23 static const int TUS_NEC = 562;
nnguyen 0:f09b7c760de7 24 static const int TUS_AEHA = 425;
nnguyen 0:f09b7c760de7 25 static const int TUS_SONY = 600;
nnguyen 0:f09b7c760de7 26
nnguyen 0:f09b7c760de7 27 private:
nnguyen 0:f09b7c760de7 28 RemoteIR();
nnguyen 0:f09b7c760de7 29 };
nnguyen 0:f09b7c760de7 30
nnguyen 0:f09b7c760de7 31 #endif