RFIN "simple" question

premelec

Senior Member
RFIN examples show the necessary 8 bytes received as b0 b1....b7; understood... however is it ok to receive, for example b0 b0 b0 b0 b1 b1 b1 b1 to conserve variable use and receive only two new values? I'm not up on how the Manchester code works... and if it's ok to keep replacing the same variable value or if the 8 variables need different values to confirm correct reception. Thanks
 

lbenson

Senior Member
Without knowing definitively, I would say that if you want just the values of the 4th and 8th bytes sent in b0 and b1, then yes, you could do it as you suggest.
 

Technical

Technical Support
Staff member
That's fine. The rfin firmware buffers the bytes and then copies them to the user defined variables right at the end, so no problem repeating bytes like that if you want to.
 

premelec

Senior Member
Thanks Ibenson & Technical - that makes it clear about the internal buffering taking care of the details...
 
Top