Andrew Russell / Mbed OS RC5_AndrewR

Dependents:   AppleRemoteController_copy_Production_Version AppleRemoteController_Reference_Only

Revision:
3:f0cd7c22ca94
Parent:
1:bb881a434906
Child:
4:d900d90588d0
--- a/rc5codes.h	Fri Nov 20 14:36:14 2015 +0000
+++ b/rc5codes.h	Tue Jul 26 16:24:40 2022 +0000
@@ -19,11 +19,13 @@
 // and be ignored by the decoder.  Only the ones un-commented out below are active in V1.0
 // Note you will also need to write the associated command processor functions 
 
-#define STANDBY 12      // toggle  power ON and OFF
-#define MUTE 13         // toggle output signal on and off
+#define STANDBY 378      // toggle  power ON and OFF
+#define MUTE 442         // toggle output signal on and off
 // #define 14 PRESETS
-#define VUP 16          
-#define VDOWN 17
+#define VUP 464         
+#define VDOWN 432
+//#define TONE 22
+
 // #define 18 BRIGHTNESS +
 // #define 19 BRIGHTNESS -
 // #define 20 COLOR SATURATION +
@@ -40,7 +42,13 @@
 // #define PLAY 53
 // #define STOP 54
 // #define 55 RECORD
-#define SELECT_R 3      // rotates input through inputs - must depress and then release each time
+
+#define SELECT_R 480      // rotates input through inputs - must depress and then release each time
+#define SELECT_L 272      // rotates input through inputs - must depress and then release each time
+
+//#define DAC_FIL 20
+//#define BLUTOOTH 18
+//#define SYSTEM 16
 
 /* RC5 address */
 // #define 0 TV SET 1
@@ -58,8 +66,8 @@
 // #define 12 CD VIDEO
 // #define 13 RESERVED
 // #define 14 CD PHOTO
-// #define RESERVED
-#define PREAMP 16
+// #define 23 RESERVED      // this is the official RC5 designation for system code 13
+#define PREAMP 479          // this is the system code identifying an Apple Remote
 // #define RECEIVER 17
 // #define 18 TAPE / CASSETE RECORDER
 // #define PRE2 19
@@ -70,7 +78,7 @@
 // #define 24 RESERVED
 // #define 25 RESERVED
 // #define 26 WRITABLE CD
-// #define 26-31 RESERVED0 TV SET 1
+// #define 26-31 RESERVED FOR TV SET 1
 
 
 
@@ -79,3 +87,7 @@
 
 
 
+
+
+
+