milan.rajik
Banned
First compile and upload the sketch to UNO and then modify Mirf library for Mega2560 and then upload sketch to Mega2560 board.
You have to change pin connections here. It is in the Mirf.cpp file
You have to change pin connections here. It is in the Mirf.cpp file
Code:
Nrf24l::Nrf24l(){
cePin = 9;
csnPin = 10;
channel = 1;
payload = 16;
spi = NULL;
}