Using NRF24L01 with Arduino MKRZero
Hardware
3
Posts
2
Posters
40
Views
2
Watching
-
For future reference,
I was checking the myconfig.h file and found some variable definition regarding the NRF24 radio.
There were two variables referencing the CE and CS pin.
/** * @def MY_RF24_CE_PIN * @brief Define this to change the chip enable pin from the default. */ #ifndef MY_RF24_CE_PIN #define MY_RF24_CE_PIN (DEFAULT_RF24_CE_PIN) #endif /** * @def MY_RF24_CS_PIN * @brief Define this to change the chip select pin from the default. */ #ifndef MY_RF24_CS_PIN #define MY_RF24_CS_PIN (DEFAULT_RF24_CS_PIN) #endifI have set these two variables in my sketch for my MRKZERO and got the radio working.
Problem Solved :+1:
-
For future reference,
I was checking the myconfig.h file and found some variable definition regarding the NRF24 radio.
There were two variables referencing the CE and CS pin.
/** * @def MY_RF24_CE_PIN * @brief Define this to change the chip enable pin from the default. */ #ifndef MY_RF24_CE_PIN #define MY_RF24_CE_PIN (DEFAULT_RF24_CE_PIN) #endif /** * @def MY_RF24_CS_PIN * @brief Define this to change the chip select pin from the default. */ #ifndef MY_RF24_CS_PIN #define MY_RF24_CS_PIN (DEFAULT_RF24_CS_PIN) #endifI have set these two variables in my sketch for my MRKZERO and got the radio working.
Problem Solved :+1: