Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
RF24
Commits
970309d1
Commit
970309d1
authored
Mar 23, 2016
by
TMRh20
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATTiny 861 support per #180
parent
9708f720
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
RF24.cpp
RF24.cpp
+7
-0
RF24_config.h
RF24_config.h
+1
-2
No files found.
RF24.cpp
View file @
970309d1
...
@@ -1549,6 +1549,13 @@ void RF24::setRetries(uint8_t delay, uint8_t count)
...
@@ -1549,6 +1549,13 @@ void RF24::setRetries(uint8_t delay, uint8_t count)
# define DO 15 // PB6
# define DO 15 // PB6
# define USCK 16 // PB7
# define USCK 16 // PB7
# define SS 13 // PB4
# define SS 13 // PB4
#elif defined(__AVR_ATtiny861__)
// these depend on the core used (check pins_arduino.h)
// tested with google-code core
# define DI 9 // PB0
# define DO 8 // PB1
# define USCK 7 // PB2
# define SS 6 // PB3
#endif
#endif
#if defined(RF24_TINY)
#if defined(RF24_TINY)
...
...
RF24_config.h
View file @
970309d1
...
@@ -38,8 +38,7 @@
...
@@ -38,8 +38,7 @@
#include "utility/includes.h"
#include "utility/includes.h"
//ATTiny
//ATTiny
#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__)
#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__) || defined(__AVR_ATtiny861__)
#define RF24_TINY
#define RF24_TINY
#include "utility/ATTiny/RF24_arch_config.h"
#include "utility/ATTiny/RF24_arch_config.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment