Hi astrofrostbyte,
yes you are right, it got messed up when i coppied it over.
The code actually works i just slipped up.
the main problem i am having is that sispite the message being returned and
The returned message being read, which it must be as the value in buffer [0] equals the channel and the result of this acknowledge is that the error LED does not light up.
if (received)
{ if (buf [0]!= channel)
return;
...etc....
if i try to read the buffer values and print them to the monitor outside of the loop i get 0
if i do the same inside the loop it wont compile.
so if the values are sent and are there how can i transfer them to use them elsewher in my code
ie. write them to variables.
J.