From dd82fe0d1d95992058b5b8fffc0faa3b5f23221e Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Wed, 28 Jan 2026 10:34:05 -0700 Subject: [PATCH] Update __init__.c Add a bit more info to the docs for the rainboxio.colorwheel function, making it more useful to someone just getting started. --- shared-bindings/rainbowio/__init__.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared-bindings/rainbowio/__init__.c b/shared-bindings/rainbowio/__init__.c index a085669d7ff9a..e02df713eeba2 100644 --- a/shared-bindings/rainbowio/__init__.c +++ b/shared-bindings/rainbowio/__init__.c @@ -16,7 +16,8 @@ //| //| def colorwheel(n: float) -> int: //| """C implementation of the common colorwheel() function found in many examples. -//| Returns the colorwheel RGB value as an integer value for n (usable in neopixel and dotstar). +//| Takes a hue, a value between 0-255, and returns an RGB tuple encoded as an +//| integer value (usable in neopixel and dotstar). //| """ //| ... //|