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

Show info about resolution and mode in docs #11

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

FoamyGuy
Copy link
Contributor

@FoamyGuy FoamyGuy commented Nov 6, 2024

in #9 the OP had trouble figuring out how to set the resolution setting on the sensor.

A quick look into the docs revealed that both mode and resolution were undocumented, so I've added docstrings on the register fields and a bit more info into the enum class docs. I also removed the enum classes from the exclude list so that they will get included in the docs page.

Here is a screenshot of how the docs look with a local build with these proposed changes:
image

@FoamyGuy FoamyGuy requested a review from a team November 6, 2024 18:51
@FoamyGuy FoamyGuy merged commit e35e365 into adafruit:main Nov 6, 2024
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 7, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_AD569x to 2.0.4 from 2.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_AD569x#4 from FoamyGuy/fix_circup_instruction

Updating https://github.com/adafruit/Adafruit_CircuitPython_AHTx0 to 1.0.23 from 1.0.22:
  > Merge pull request adafruit/Adafruit_CircuitPython_AHTx0#22 from FoamyGuy/busy_timeout_calibration

Updating https://github.com/adafruit/Adafruit_CircuitPython_AM2320 to 1.2.22 from 1.2.21:
  > Merge pull request adafruit/Adafruit_CircuitPython_AM2320#30 from FoamyGuy/wait_longer_after_wakeup

Updating https://github.com/adafruit/Adafruit_CircuitPython_BH1750 to 1.1.12 from 1.1.11:
  > Merge pull request adafruit/Adafruit_CircuitPython_BH1750#11 from FoamyGuy/improve_docs

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
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