Project

General

Profile

Receiving RoomNode

Added by danst0 almost 4 years ago

Hi,

I have a Jeenode with Room board with a quite standard room node running. How would I now integrate a receiver as well?
I tried using the example from RF12serial
if (RF12.poll())
Serial.print(RF12.read());

and also using the "standard function"
if (rf12_recvDone() && rf12_crc == 0) {
Serial.print("DATA ");
for (byte i = 0; i < rf12_len; ++i)
Serial.print((char) rf12_data[i]);
Serial.println();
}

I tried adding both of these snippets in the main loop, combines well. But none of them seem to work.

Any hints?

Daniel