Hello,
I get same message in the serial : 0;0;3;0;9;radio init fail
-
IDE 1.6.4 on Yosemit
-
MEGA2560
-
Ethernet Shield W5100 (like this : https://www.arduino.cc/en/Guide/ArduinoEthernetShield)
-
NRF24L01+ (1436AH)
-
MySensors Arduino Library v1.5
-
I uncommented #define SOFTSPI in MyConfig.h
// Enable SOFTSPI for NRF24L01 when using the W5100 Ethernet module
#define SOFTSPI
#ifdef SOFTSPI
// Define the soft SPI pins used for NRF radio
const uint8_t SOFT_SPI_MISO_PIN = 50;
const uint8_t SOFT_SPI_MOSI_PIN = 51;
const uint8_t SOFT_SPI_SCK_PIN = 52;
#endif
- EthernetGateway.ino
#define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled
#define INCLUSION_MODE_PIN 3 // Digital pin used for inclusion mode button
#define RADIO_CE_PIN 5 // radio chip enable
#define RADIO_SPI_SS_PIN 6 // radio SPI serial select
#define RADIO_ERROR_LED_PIN 7 // Error led pin
#define RADIO_RX_LED_PIN 8 // Receive led pin
#define RADIO_TX_LED_PIN 9 // the PCB, on board LED
// NRFRF24L01 radio driver (set low transmit power by default)
MyTransportNRF24 transport(RADIO_CE_PIN, RADIO_SPI_SS_PIN, RF24_PA_LEVEL_GW);
CE & CSN pin are différents configuration in MyConfig.h & EthernetGateway.ino. Can I change this?
Other idea please?