Skip to content

Conversation

@labeneator
Copy link
Contributor

Hi there,
I have a usecase where I don't want the auto-calibration to ever happen on a sensor. So i'd prefer to have it disabled on begin(). Currently, begin always sets the autocalibration to true.

This PR adds support for auto-calibration to be settable to false. It doesn't change the current behaviour. I.e., current code should work as-is.

Thanks,
Laban

@nseidle
Copy link
Member

nseidle commented Aug 7, 2020

Thanks for your contribution! Looks good. Please add an example next time as examples are often where folks look for available methods.

@nseidle nseidle merged commit ad70406 into sparkfun:master Aug 7, 2020
@nseidle
Copy link
Member

nseidle commented Aug 7, 2020

Release pushed. Should enter lib manager shortly.

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