Skip to content

Fix documentation #22

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

Merged
merged 1 commit into from
Apr 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion adafruit_vc0706.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@

class VC0706:
"""Driver for VC0706 serial TTL camera module.

:param ~busio.UART uart: uart serial or compatible interface
:param int buffer_size: Receive buffer size
"""
Expand Down Expand Up @@ -225,7 +226,7 @@ def get_motion_detect(self):
return self._run_command(_COMM_MOTION_STATUS, bytes([0x00]), 6)

def set_motion_detect(self, args):
"""Set gesture detection status
"""Set gesture detection status.
args = 0 to unset, 1 to set
Copy link
Member

Choose a reason for hiding this comment

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

Want to turn this into a :param: line?

Copy link
Member

Choose a reason for hiding this comment

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

The type would be bool according to the docstring

"""
return self._run_command(_COMM_MOTION_CTRL, bytes([0x01, args]), 5)
Expand Down