Skip to content

liamjack/Arduino-NRF24L01-Thermometer #1

@M-Kingston

Description

@M-Kingston

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions