Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eCO2 -> CO2 #5

Merged
merged 4 commits into from
Jan 26, 2021
Merged

eCO2 -> CO2 #5

merged 4 commits into from
Jan 26, 2021

Conversation

rpavlik
Copy link
Contributor

@rpavlik rpavlik commented Jan 24, 2021

This is a real CO2 sensor, so the docs and API should reflect that - see recent equivalent change to the arduino library. I opted to lowercase the property name now that we don't need mixed case to distinguish "e" from "CO2", so scd30.eCO2 is now just scd30.co2.

I also fixed some typos I saw as I was going thru.

Fixes #4

@ladyada ladyada requested a review from caternuson January 24, 2021 04:46
@tannewt
Copy link
Member

tannewt commented Jan 25, 2021

Would you mind adding co2 to the design guide listing too? https://github.com/adafruit/circuitpython/blob/main/docs/design_guide.rst#sensor-properties-and-units Thanks!

@rpavlik
Copy link
Contributor Author

rpavlik commented Jan 26, 2021

I see that TVOC is in all caps. Do we want CO2 in all caps too? or lowercase like most of the rest?

@ladyada
Copy link
Member

ladyada commented Jan 26, 2021

CO2 is a technical spelling, i'd prefer its in all caps

@rpavlik
Copy link
Contributor Author

rpavlik commented Jan 26, 2021

OK, I'll revise this accordingly.

@ladyada
Copy link
Member

ladyada commented Jan 26, 2021

thank you :)

@rpavlik
Copy link
Contributor Author

rpavlik commented Jan 26, 2021

OK, commits updated, and the docs PR is here: adafruit/circuitpython#4070

@ladyada
Copy link
Member

ladyada commented Jan 26, 2021

thanks, gonna wait till @tannewt is around and approves the new 'sensor type'

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CO2 looks good to me! Thank you!

@tannewt tannewt merged commit 5374640 into adafruit:main Jan 26, 2021
@rpavlik rpavlik deleted the eco2-fix branch January 26, 2021 22:09
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 28, 2021
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.

Change various "estimated" references to "true"
3 participants