Skip to content

Fix docblock of RGBLED pulse and cycle still referring to on_color instead of colors #121

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions picozero/picozero.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ def pulse(self, fade_times=1, colors=((0, 0, 0), (1, 0, 0), (0, 0, 0), (0, 1, 0)
:param float fade_out_time:
Number of seconds to spend fading out. Defaults to 1.
:type colors: tuple
:param on_color:
:param colors:
Tuple of colours to pulse between in order. Defaults to red, off, green, off, blue, off.
:type off_color: ~colorzero.Color or tuple
:type n: int or None
Expand All @@ -1122,7 +1122,7 @@ def cycle(self, fade_times=1, colors=((1, 0, 0), (0, 1, 0), (0, 0, 1)), n=None,
:param float fade_times:
Number of seconds to spend fading out. Defaults to 1.
:type colors: tuple
:param on_color:
:param colors:
Tuple of colours to cycle between. Defaults to red, green, blue.
:type n: int or None
:param n:
Expand Down