-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOnkyo_amp.h
62 lines (53 loc) · 1.7 KB
/
Onkyo_amp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Onkyo_amp.h
// NEC encoding, one message is 32 bits long.
#include <IRremote.h>
#ifndef _ONKYO_AMP_h
#define _ONKYO_AMP_h
#if defined(ARDUINO) && ARDUINO >= 100
#include "arduino.h"
#else
#include "WProgram.h"
#endif
#endif
boolean testInputOnkyo(decode_results *results);
#define ONKYO_POWER 0x4BB620DF
#define ONKYO_MUTE 0x4BB6A05F
#define ONKYO_VOL_UP 0x4BB640BF
#define ONKYO_VOL_DOWN 0x4BB6C03F
//codes that I can't really use with my amp
#define ONKYO_SLEEP 0x4BB6BA45
#define ONKYO_DIMMER 0x4BB6A956
#define ONKYO_SUR_MODE 0x4BB632CD
#define ONKYO_MULTI_CH_INPUT 0x4B3620DF
#define ONKYO_INPUT_DVD 0x4B3631CE
#define ONKYO_INPUT_TAPE 0x4BB610EF
#define ONKYO_INPUT_TUNER 0x4BB6D02F
#define ONKYO_INPUT_PHONO 0x4BB650AF
#define ONKYO_INPUT_CD 0x4BB6906F
#define ONKYO_INPUT_VIDEO1 0x4BB6F00F
#define ONKYO_INPUT_VIDEO2 0x4BB6708F
#define ONKYO_TUNER_GROUP 0x4BB652AD
#define ONKYO_TUNER_PRSET_BACK 0x4BB6807F
#define ONKYO_TUNER_PRSET_NEXT 0x4BB600FF
#define ONKYO_CD_STOP 0x4BB638C7
#define ONKYO_CD_PLAY 0x4BB6D827
#define ONKYO_CD_DISC 0x4BB63AC5
#define ONKYO_CD_PAUSE 0x4BB6F807
#define ONKYO_CD_REW 0x4BB67887
#define ONKYO_CD_FWD 0x4BB6B847
#define ONKYO_DVD_STOP 0x4B36718E
#define ONKYO_DVD_PLAY 0x4B36B14E
#define ONKYO_DVD_REW 0x4B3649B6
#define ONKYO_DVD_FWD 0x4B368976
#define ONKYO_DVD_PREV 0x4B3609F6
#define ONKYO_DVD_NEXT 0x4B36F10E
#define ONKYO_TAPE_BACK 0x4BB66897
#define ONKYO_TAPE_PLAY 0x4BB6A857
#define ONKYO_TAPE_RECPAUSE 0x4BB618E7 //Tape REC/Pause
#define ONKYO_TAPE_STOP 0x4BB6C837
#define ONKYO_TAPE_REW 0x4BB658A7
#define ONKYO_TAPE_FWD 0x4BB69867
#define ONKYO_CH_SEL 0x4B3622DD
#define ONKYO_LEVEL_UP 0x4B3642BD
#define ONKYO_LEVEL_DWN 0x4B36C23D
#define ONKYO_TEST_TONE 0x4BB659A6