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

Update digitalio docstrings to be more in line with CircuitPython #505

Merged
merged 2 commits into from Sep 10, 2021
Merged

Update digitalio docstrings to be more in line with CircuitPython #505

merged 2 commits into from Sep 10, 2021

Conversation

makermelissa
Copy link
Contributor

Fixes #499.

@makermelissa makermelissa requested a review from a team September 10, 2021 15:18
@@ -129,7 +129,7 @@ def write_readinto(
self._spi.bits_per_word = self.bits
data = self._spi.transfer(list(buffer_out[out_start : out_end + 1]))
for i in range((in_end - in_start)):
buffer_in[i + in_start] = data[i]
buffer_in[i + in_start] = data[i + 1]
Copy link
Contributor

Choose a reason for hiding this comment

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

The docs changes look good to me.

Is this + 1 intentional? If so this PR LGTM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sort of. That wasn't supposed to be part of this PR. It was for another issue that I started to test a while ago and forgot to revert. I'll remove that for now.

@makermelissa makermelissa merged commit 057fdeb into adafruit:main Sep 10, 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.

misleading docstr in DigitalInOut.pull
2 participants