i assembled a code for master and slave solar tracker, using NRF transmitter and receiver.
this there any thing wrong in the following line which is bolded?
im getting error in this line
the code is attached below
if ( radio.available() )
// Read the data payload until we’ve received everything
bool done = false;
// Fetch the data payload
** done = radio.read(sensor,sizeof(sensor) );**
SlavePanel_FYP.ino (3.75 KB)