From da8b8e1c2dfca74150d8208e62a422ee969be3dd Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Tue, 14 Aug 2012 01:24:14 +0200 Subject: [PATCH] Added support for Leonardo --- IRremoteInt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRremoteInt.h b/IRremoteInt.h index 475f668..272efa6 100644 --- a/IRremoteInt.h +++ b/IRremoteInt.h @@ -327,6 +327,8 @@ extern volatile irparams_t irparams; }) #if defined(CORE_OC4A_PIN) #define TIMER_PWM_PIN CORE_OC4A_PIN /* Teensy */ +#elif defined(__AVR_ATmega32U4__) +#define TIMER_PWM_PIN 13 /* Leonardo */ #else #error "Please add OC4A pin number here\n" #endif