Ardino Radio Head

Hi guys,
I was just curious if anyone knew a solution to a problem I have run into. The problem is that when I send variables over the Radiohead library and get them on the receiving end the code doesn't know which one is which. Does anyone know how I can maybe attach a variable or something to a digital read to send over then decipher it on the receiving end?

There are many ways to solve that problem.

One is to send structured messages, so there is no possible confusion about what is what (e.g. always send one type of message, formatted to contain all the variables in order).

Another is to send identifiers within the message, e.g. (1, temperature) or (2, humidity), or text "Temp=25.3, Humidity=83"

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.