summaryrefslogtreecommitdiff
path: root/irsndconfig.h
diff options
context:
space:
mode:
authorukw2010-06-15 15:40:11 +0000
committerukw2010-06-15 15:40:11 +0000
commitc7c9a4a1320292cd9a71e01ad571626cfa4a30d3 (patch)
tree73b820ab43d0e69ac8841ab239d9716e56bd3471 /irsndconfig.h
parent586dc529cebb8b3a7e3e6ce18bca15d6a5df2160 (diff)
downloadirmp-c7c9a4a1320292cd9a71e01ad571626cfa4a30d3.zip
Version 1.6.6: added FDC & RC-CAR protocol to IRSND
git-svn-id: svn://mikrocontroller.net/irmp@30 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irsndconfig.h')
-rw-r--r--irsndconfig.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/irsndconfig.h b/irsndconfig.h
index 05f27b2..56317bb 100644
--- a/irsndconfig.h
+++ b/irsndconfig.h
@@ -3,7 +3,7 @@
*
* Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irsndconfig.h,v 1.7 2010/06/10 21:24:50 fm Exp $
+ * $Id: irsndconfig.h,v 1.8 2010/06/15 15:47:21 fm Exp $
*
* ATMEGA88 @ 8 MHz
*
@@ -43,6 +43,8 @@
#define IRSND_SUPPORT_BANG_OLUFSEN_PROTOCOL 1 // flag: support Bang&Olufsen uses ~250 bytes
#define IRSND_SUPPORT_GRUNDIG_PROTOCOL 1 // flag: support Grundig uses ~300 bytes
#define IRSND_SUPPORT_NOKIA_PROTOCOL 1 // flag: support Nokia uses ~400 bytes
+#define IRSND_SUPPORT_FDC_PROTOCOL 1 // flag: support FDC infrared keyboard uses ~150 bytes
+#define IRSND_SUPPORT_RCCAR_PROTOCOL 1 // flag: support RC CAR uses ~150 bytes
/*---------------------------------------------------------------------------------------------------------------------------------------------------
* THE FOLLOWING ENCODERS WORK ONLY FOR F_INTERRUPTS > 14500!
@@ -50,12 +52,8 @@
*/
#if F_INTERRUPTS >= 14500
#define IRSND_SUPPORT_SIEMENS_PROTOCOL 1 // flag: support Siemens, e.g. Gigaset uses ~150 bytes
-#define IRSND_SUPPORT_FDC1_PROTOCOL 1 // flag: support FDC1 infrared keyboard uses ~150 bytes
-#define IRSND_SUPPORT_FDC2_PROTOCOL 1 // flag: support FDC2 infrared keyboard uses ~150 bytes
#else
#define IRSND_SUPPORT_SIEMENS_PROTOCOL 0 // DO NOT CHANGE! F_INTERRUPTS too low!
-#define IRSND_SUPPORT_FDC1_PROTOCOL 0 // DO NOT CHANGE! F_INTERRUPTS too low!
-#define IRSND_SUPPORT_FDC2_PROTOCOL 0 // DO NOT CHANGE! F_INTERRUPTS too low!
#endif
@@ -64,11 +62,11 @@
*---------------------------------------------------------------------------------------------------------------------------------------------------
*/
#if defined (__AVR_ATmega32__) || defined (__AVR_ATmega644P__)
-#define IRSND_PORT PORTD // port D
-#define IRSND_DDR DDRD // ddr D
-#define IRSND_BIT 7 // OC2A
+#define IRSND_PORT PORTD // port D
+#define IRSND_DDR DDRD // ddr D
+#define IRSND_BIT 7 // OC2A
#else
-#define IRSND_PORT PORTB // port B
-#define IRSND_DDR DDRB // ddr B
-#define IRSND_BIT 3 // OC2A
+#define IRSND_PORT PORTB // port B
+#define IRSND_DDR DDRB // ddr B
+#define IRSND_BIT 3 // OC2A
#endif // __AVR...