RC Univers 29

Aus c't-Bot Wiki
Wechseln zu: Navigation, Suche

Beschreibung

Eine 8-in-1 Universalfernbedienung. Die Univers29 ist die Default Fernbedienung für den c't-Bot und den c't-Sim. Die Fernbedienung ist erhältlich bei Segor Electronics unter der Bezeichnung "ct-Robot/Fernbedienung".

Ansicht

Univers 29 Fernbedienung

Fernbedien Codes

Zur Verwendung der Univers29 Fernbedienung, muß in der Datei 'rc5-codes.h' folgendes Define vorhanden sein. Außerdem muß man die Univers29 im VCR Mode auf den Code 334 oder 335(Philips) programmieren.

<c>

  1. define RC_HAVE_HQ_RC_UNIVERS29_334

</c>

bzw.

<c>

  1. define RC_HAVE_HQ_RC_UNIVERS29_335

</c>

Auszug aus der Datei 'rc5-codes.h'.

<c> /*!

* Default-Fernbedienung 
* HQ RC Univers 29, Geraetecode 334
*/
  1. ifdef RC_HAVE_HQ_RC_UNIVERS29_334

#define RC5_CODE_PWR (0x118C & RC5_MASK) /*!< Taste An/Aus */

#define RC5_CODE_0 (0x1180 & RC5_MASK) /*!< Taste 0 /10*/ #define RC5_CODE_1 (0x1181 & RC5_MASK) /*!< Taste 1 */ #define RC5_CODE_2 (0x1182 & RC5_MASK) /*!< Taste 2 */ #define RC5_CODE_3 (0x1183 & RC5_MASK) /*!< Taste 3 */ #define RC5_CODE_4 (0x1184 & RC5_MASK) /*!< Taste 4 */ #define RC5_CODE_5 (0x1185 & RC5_MASK) /*!< Taste 5 */ #define RC5_CODE_6 (0x1186 & RC5_MASK) /*!< Taste 6 */ #define RC5_CODE_7 (0x1187 & RC5_MASK) /*!< Taste 7 */ #define RC5_CODE_8 (0x1188 & RC5_MASK) /*!< Taste 8 */ #define RC5_CODE_9 (0x1189 & RC5_MASK) /*!< Taste 9 */ #define RC5_CODE_11 (0x118A & RC5_MASK) /*!< Taste 11 /1-*/ #define RC5_CODE_12 (0x11A3 & RC5_MASK) /*!< Taste 12 /2-*/

#define RC5_CODE_GREEN (0x01BA & RC5_MASK) /*!< Gruene Taste */ #define RC5_CODE_RED (0x01BD & RC5_MASK) /*!< Rote Taste */ #define RC5_CODE_YELLOW (0x01B1 & RC5_MASK) /*!< Gelbe Taste */ #define RC5_CODE_BLUE (0x01B0 & RC5_MASK) /*!< Blaue Taste */

#define RC5_CODE_I_II (0x11AB & RC5_MASK) /*!< I/II-Taste */ #define RC5_CODE_TV_VCR (0x11B8 & RC5_MASK) /*!< TV/VCR-Taste */

#define RC5_CODE_DOT (0x11AB & RC5_MASK) /*!< Taste mit rundem Punkt */

#define RC5_CODE_PLAY (0x11B5 & RC5_MASK) /*!< PLAY-Taste */ #define RC5_CODE_STILL (0x11A9 & RC5_MASK) /*!< Pause Taste */ #define RC5_CODE_STOP (0x11B6 & RC5_MASK) /*!< Pause Taste */ #define RC5_CODE_BWD (0x11B2 & RC5_MASK) /*!< Backward Taste */ #define RC5_CODE_FWD (0x11B4 & RC5_MASK) /*!< Forward Taste */

#define RC5_CODE_CH_PC (0x11BF & RC5_MASK) /*!< CH*P/C Taste */ #define RC5_CODE_MUTE (0x01BF & RC5_MASK) /*!< Mute-Taste */

#define RC5_VOL_PLUS (0x1190 & RC5_MASK) /*!< Vol + Taste */ #define RC5_VOL_MINUS (0x1191 & RC5_MASK) /*!< Vol - Taste */

#define RC5_CH_PLUS (0x11A0 & RC5_MASK) /*!< Ch + Taste */ #define RC5_CH_MINUS (0x11A1 & RC5_MASK) /*!< Ch - Taste */


#define RC5_CODE_UP RC5_CODE_STILL /*!< Taste Hoch */ #define RC5_CODE_DOWN RC5_CODE_STOP /*!< Taste Runter */ #define RC5_CODE_LEFT RC5_CODE_BWD /*!< Taste Links */ #define RC5_CODE_RIGHT RC5_CODE_FWD /*!< Taste Rechts */

  1. endif

/*!

* Default-Fernbedienung 
* HQ RC Univers 29, Geraetecode 335
*/
  1. ifdef RC_HAVE_HQ_RC_UNIVERS29_335

#define RC5_CODE_PWR (0x100C & RC5_MASK) /*!< Taste An/Aus */

#define RC5_CODE_0 (0x1000 & RC5_MASK) /*!< Taste 0 /10*/ #define RC5_CODE_1 (0x1001 & RC5_MASK) /*!< Taste 1 */ #define RC5_CODE_2 (0x1002 & RC5_MASK) /*!< Taste 2 */ #define RC5_CODE_3 (0x1003 & RC5_MASK) /*!< Taste 3 */ #define RC5_CODE_4 (0x1004 & RC5_MASK) /*!< Taste 4 */ #define RC5_CODE_5 (0x1005 & RC5_MASK) /*!< Taste 5 */ #define RC5_CODE_6 (0x1006 & RC5_MASK) /*!< Taste 6 */ #define RC5_CODE_7 (0x1007 & RC5_MASK) /*!< Taste 7 */ #define RC5_CODE_8 (0x1008 & RC5_MASK) /*!< Taste 8 */ #define RC5_CODE_9 (0x1009 & RC5_MASK) /*!< Taste 9 */ #define RC5_CODE_11 (0x100A & RC5_MASK) /*!< Taste 11 /1-*/ #define RC5_CODE_12 (0x1003 & RC5_MASK) /*!< Taste 12 /2-*/

#define RC5_CODE_GREEN (0x101E & RC5_MASK) /*!< Gruene Taste */ #define RC5_CODE_RED (0x101D & RC5_MASK) /*!< Rote Taste */ #define RC5_CODE_YELLOW (0x1027 & RC5_MASK) /*!< Gelbe Taste */ #define RC5_CODE_BLUE (0x101C & RC5_MASK) /*!< Blaue Taste */

#define RC5_CODE_I_II (0x1023 & RC5_MASK) /*!< I/II-Taste */ #define RC5_CODE_TV_VCR (0x1038 & RC5_MASK) /*!< TV/VCR-Taste */

#define RC5_CODE_DOT (0x1037 & RC5_MASK) /*!< Taste mit rundem Punkt */

#define RC5_CODE_PLAY (0x11B5 & RC5_MASK) /*!< PLAY-Taste */ #define RC5_CODE_STILL (0x1029 & RC5_MASK) /*!< Pause Taste */ #define RC5_CODE_STOP (0x1036 & RC5_MASK) /*!< Pause Taste */ #define RC5_CODE_BWD (0x1032 & RC5_MASK) /*!< Backward Taste */ #define RC5_CODE_FWD (0x1034 & RC5_MASK) /*!< Forward Taste */

#define RC5_CODE_CH_PC (0x100B & RC5_MASK) /*!< CH*P/C Taste */ #define RC5_CODE_MUTE (0x003F & RC5_MASK) /*!< Mute-Taste */

#define RC5_VOL_PLUS (0x1010 & RC5_MASK) /*!< Vol + Taste */ #define RC5_VOL_MINUS (0x1011 & RC5_MASK) /*!< Vol - Taste */

#define RC5_CH_PLUS (0x1020 & RC5_MASK) /*!< Ch + Taste */ #define RC5_CH_MINUS (0x1021 & RC5_MASK) /*!< Ch - Taste */


#define RC5_CODE_UP RC5_CODE_STILL /*!< Taste Hoch */ #define RC5_CODE_DOWN RC5_CODE_STOP /*!< Taste Runter */ #define RC5_CODE_LEFT RC5_CODE_BWD /*!< Taste Links */ #define RC5_CODE_RIGHT RC5_CODE_FWD /*!< Taste Rechts */

  1. endif

</c>