Skip to content

Conversation

@andyfsimon
Copy link

@andyfsimon andyfsimon commented May 22, 2018

As the "begin" function is reporting to return a bool, I expected that I could use it in a similar fashion:

if (!sensor.begin()) {
    Serial.println("Could not find a valid Si7021 sensor, check wiring!");
}

But as the function returns nothing so far, this fails. Added "return true" in two points of the function where it actually finds a sensor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants