I have the sketches MasterSwapRoles and SlaveSwapRoles downloaded from
http://forum.arduino.cc/index.php?topic=421081.0
Each starts with
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#define CE_PIN 9
#define CSN_PIN 10
As advised in the tutorial I am using RF24 TMRh20 (version 1.1.7). In the tutorial at
http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
these are the CE and CSN pins listed for one RF24 library but the pins listed for TMRh20 RF24 Library are 7 and 8 respectively.
There is obviously some confusion. Does one change the code, or change the pins?
MasterSwapRoles.ino (2.37 KB)
SlaveSwapRoles.ino (2.27 KB)