Skip to content

Commit acbf3b4

Browse files
authored
Merge pull request #10789 from hartzell-forks/rainbowio-doc-improvement
Improve doc for rainbowio.colorwheel, making them more useful for beginners.
2 parents 8c0d596 + dd82fe0 commit acbf3b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared-bindings/rainbowio/__init__.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
//|
1717
//| def colorwheel(n: float) -> int:
1818
//| """C implementation of the common colorwheel() function found in many examples.
19-
//| Returns the colorwheel RGB value as an integer value for n (usable in neopixel and dotstar).
19+
//| Takes a hue, a value between 0-255, and returns an RGB tuple encoded as an
20+
//| integer value (usable in neopixel and dotstar).
2021
//| """
2122
//| ...
2223
//|

0 commit comments

Comments
 (0)