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
3f4a1cbc
Commit
3f4a1cbc
authored
Oct 02, 2014
by
TMRh20
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#24 Enable UART as 2ndary SPI BUS
Uses the SPI_UART library at
https://github.com/TMRh20/Sketches
parent
ccde03c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
RF24_config.h
RF24_config.h
+5
-0
No files found.
RF24_config.h
View file @
3f4a1cbc
...
...
@@ -24,6 +24,7 @@
//#define FAILURE_HANDLING
//#define SERIAL_DEBUG
//#define MINIMAL
#define SPI_UART
/**********************/
// Define _BV for non-Arduino platforms and for Arduino DUE
...
...
@@ -31,7 +32,11 @@
#if defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__)
#define RF24_TINY
#else
#if defined SPI_UART
#include <SPI_UART.h>
#else
#include <SPI.h>
#endif
#endif
#else
...
...
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