Save radio.SENDERID to string??

Started by chalupien, May 05, 2014, 05:26:14 PM

chalupien

Hello, I can't get the byte holding the SENDERID to save into a String, or a char array...

Ive tried sprintf(senderID,"%d",radio.SENDERID) and String(radio.SENDERID,DEC)

Neither work and just retun 0...

Any ideas?

luisr320

#1
Try this:

int senderid = radio.SENDERID;
Serial.print(senderid);

Edit: Sorry, not a string  :-\