+#elif defined (__AVR_ATmega8515__) \r
+#if IRSND_OCx == IRSND_OC0 \r
+#define IRSND_PORT PORTB // port B\r
+#define IRSND_DDR DDRB // ddr B\r
+#define IRSND_BIT 0 // OC0\r
+#elif IRSND_OCx == IRSND_OC1A \r
+#define IRSND_PORT PORTD // port D\r
+#define IRSND_DDR DDRD // ddr D\r
+#define IRSND_BIT 5 // OC1A\r
+#elif IRSND_OCx == IRSND_OC1B \r
+#define IRSND_PORT PORTE // port E\r
+#define IRSND_DDR DDRE // ddr E\r
+#define IRSND_BIT 2 // OC1E\r
+#error Wrong value for IRSND_OCx, choose IRSND_OC0, IRSND_OC1A, or IRSND_OC1B in irsndconfig.h\r
+#endif // IRSND_OCx\r