mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-07 05:42:53 +00:00
Merge pull request #13 from TKJElectronics/master
Added support for Arduino Leonardo
This commit is contained in:
@@ -359,6 +359,8 @@ extern volatile irparams_t irparams;
|
|||||||
})
|
})
|
||||||
#if defined(CORE_OC4A_PIN)
|
#if defined(CORE_OC4A_PIN)
|
||||||
#define TIMER_PWM_PIN CORE_OC4A_PIN /* Teensy */
|
#define TIMER_PWM_PIN CORE_OC4A_PIN /* Teensy */
|
||||||
|
#elif defined(__AVR_ATmega32U4__)
|
||||||
|
#define TIMER_PWM_PIN 13 /* Leonardo */
|
||||||
#else
|
#else
|
||||||
#error "Please add OC4A pin number here\n"
|
#error "Please add OC4A pin number here\n"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user