I have downloaded both the "Sensor" and "Master" sketches. In the "Master" sketch in the void loop() {
if (radio.available()) {
float temperature = 0;
if(! radio.read(&temperature,sizeof(float))) {
the above line gives the following error
could not convert 'radio.RF24::read(((void*)(&temperature)),((uint_8)sizeof(float)))' from'void' to 'bool'
Any help in solving the problem as I don't understand it???
Thanks Michael.
I have downloaded both the "Sensor" and "Master" sketches. In the "Master" sketch in the void loop() {
if (radio.available()) {
float temperature = 0;
if(! radio.read(&temperature,sizeof(float))) {
the above line gives the following error
could not convert 'radio.RF24::read(((void*)(&temperature)),((uint_8)sizeof(float)))' from'void' to 'bool'
Any help in solving the problem as I don't understand it???
Thanks Michael.