keuzeproject mdev 1ITF groep: E3

Fork of RemoteIR by Shinichiro Nakamura

Committer:
1ITF3
Date:
Mon Feb 01 10:20:31 2016 +0000
Revision:
12:0767bcde0d32
Parent:
11:268cc2ab63bd
Test code TV RC6 bij gecodeerd

Who changed what in which revision?

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