From ee1b44de3f8d022ff1e333b5c87312d8094fd5ef Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Thu, 23 Jul 2015 19:04:22 -0600 Subject: [PATCH] Add support for ATtiny84 --- IRremoteInt.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/IRremoteInt.h b/IRremoteInt.h index dbbbd28..60f744a 100644 --- a/IRremoteInt.h +++ b/IRremoteInt.h @@ -168,7 +168,7 @@ EXTERN volatile irparams_t irparams; //#define IR_USE_TIMER3 // tx = pin 9 #define IR_USE_TIMER4_HS // tx = pin 10 -// Teensy 3.0 +// Teensy 3.0 / Teensy 3.1 #elif defined(__MK20DX128__) || defined(__MK20DX256__) #define IR_USE_TIMER_CMT // tx = pin 5 @@ -191,6 +191,10 @@ EXTERN volatile irparams_t irparams; #elif defined(__AVR_ATmega8P__) || defined(__AVR_ATmega8__) #define IR_USE_TIMER1 // tx = pin 9 +// ATtiny84 +#elif defined(__AVR_ATtiny84__) + #define IR_USE_TIMER1 + // Arduino Duemilanove, Diecimila, LilyPad, Mini, Fio, Nano, etc #else //#define IR_USE_TIMER1 // tx = pin 9