Commit ac0ff44a authored by zador-blood-stained's avatar zador-blood-stained

ATTiny2313/4313 support

parent 7a446813
......@@ -1563,6 +1563,13 @@ void RF24::setRetries(uint8_t delay, uint8_t count)
# define DO 5 // PA5
# define USCK 6 // PA4
# define SS 3 // PA7
#elif defined(__AVR_ATtiny2313__) || defined(__AVR_ATtiny4313__)
// these depend on the core used (check pins_arduino.h)
// tested with google-code core
# define DI 14 // PB5
# define DO 15 // PB6
# define USCK 16 // PB7
# define SS 13 // PB4
#endif
#if defined(RF24_TINY)
......
......@@ -38,7 +38,7 @@
#include "utility/includes.h"
//ATTiny
#elif defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__)
#elif defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny2313__) || defined(__AVR_ATtiny4313__)
#define RF24_TINY
#include "utility/ATTiny/RF24_arch_config.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment