Skip to content

Docs: Add docstring to _calibrate method in AnalogInput#264

Open
vabhravi wants to merge 2 commits intofossasia:mainfrom
vabhravi:main
Open

Docs: Add docstring to _calibrate method in AnalogInput#264
vabhravi wants to merge 2 commits intofossasia:mainfrom
vabhravi:main

Conversation

@vabhravi
Copy link
Copy Markdown

@vabhravi vabhravi commented Jan 28, 2026

I noticed the _calibrate method in analog.py was missing a docstring. I added documentation to explain how it calculates slope and intercept for voltage conversion, improving code readability.

Summary by Sourcery

Documentation:

  • Add a docstring describing how AnalogInput._calibrate derives scaling coefficients for ADC-to-voltage conversion.

Loading
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