Commit 3f4a1cbc authored by TMRh20's avatar TMRh20

#24 Enable UART as 2ndary SPI BUS

Uses the SPI_UART library at https://github.com/TMRh20/Sketches
parent ccde03c9
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
//#define FAILURE_HANDLING //#define FAILURE_HANDLING
//#define SERIAL_DEBUG //#define SERIAL_DEBUG
//#define MINIMAL //#define MINIMAL
#define SPI_UART
/**********************/ /**********************/
// Define _BV for non-Arduino platforms and for Arduino DUE // Define _BV for non-Arduino platforms and for Arduino DUE
...@@ -31,7 +32,11 @@ ...@@ -31,7 +32,11 @@
#if defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) #if defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__)
#define RF24_TINY #define RF24_TINY
#else #else
#if defined SPI_UART
#include <SPI_UART.h>
#else
#include <SPI.h> #include <SPI.h>
#endif
#endif #endif
#else #else
......
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