It's not a perfect pin-out match. You should definitely check out this thread:
But you're right, it's great for beginners. That's why it forms the basis of the Candle project.
@sglue Hello, I have these reed switches which have two output states... NO & NC.
How would one go about have a two state reed switch on MySensors. I am trying to figure out how to do it on a NRF51822 chip on a coin cell battery.
Basically I am trying to port this code into MySensors.
I need a starting point to take it forward. Any kind of help will be great. Thanks
Before my post was approved last night I did realise I was missing capacitors on the rf24 modules. The node has the rf24 module powered from the 3.3v pin of the arduino mega. The raspberry pi gpio 3.3v is powering the other rf24. I have ordered some capacitors so will see if that helps when they arrive sometime next week.
Thanks for the help
@torfinn These settings should make it work, regardless of which version you buy:
// If you are using an RF-Nano, you have to switch CE and CS pins.
#define MY_RF24_CS_PIN 9 // Used by the MySensors library.
#define MY_RF24_CE_PIN 10 // Used by the MySensors library.
// Enable and select radio type attached
#define MY_RF24_PA_LEVEL RF24_PA_MAX
// Mysensors advanced settings
#define MY_RF24_DATARATE RF24_1MBPS // This datarate is supported by pretty much all NRF24 radios, including the RF-Nano.