Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Nov 21, 2025

This deprecates the older Read* methods and uses standard Update() and sensor data getters instead.

Apart from being more efficient, this also makes the driver more efficient when reading multiple sensors (since the SCD4x sensor won't get polled for new data at each Read* method call).

This PR also removes some dead code.

This deprecates the older Read* methods and uses standard Update() and
sensor data getters instead.

Apart from being more efficient, this also makes the driver more
efficient when reading multiple sensors (since the SCD4x sensor won't
get polled for new data at each Read* method call).
@deadprogram
Copy link
Member

Thanks for the improvements @aykevl now merging.

@deadprogram deadprogram merged commit fab688a into dev Dec 1, 2025
1 check passed
@deadprogram deadprogram deleted the scd4x-update branch December 1, 2025 08:56
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.

3 participants