From a04617268a1824f73332b29df15e8941a4e781f1 Mon Sep 17 00:00:00 2001 From: mattcocca Date: Thu, 26 Dec 2024 14:27:37 -0500 Subject: [PATCH 1/2] Update pixel order default description --- neopixel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neopixel.py b/neopixel.py index 8cd2a36..7d57945 100644 --- a/neopixel.py +++ b/neopixel.py @@ -54,7 +54,7 @@ class NeoPixel(adafruit_pixelbuf.PixelBuf): brightness :param bool auto_write: True if the neopixels should immediately change when set. If False, `show` must be called explicitly. - :param str pixel_order: Set the pixel color channel order. GRBW is set by default. + :param str pixel_order: Set the pixel color channel order. The default is GRB if bpp is set to 3, otherwise GRBW is used as the default. Example for Circuit Playground Express: From af8ae5e17b69e681978c80eb74bcf46e5b86f4af Mon Sep 17 00:00:00 2001 From: mattcocca Date: Fri, 27 Dec 2024 13:19:24 -0500 Subject: [PATCH 2/2] Fix line too long --- neopixel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neopixel.py b/neopixel.py index 7d57945..20a3fd7 100644 --- a/neopixel.py +++ b/neopixel.py @@ -54,7 +54,8 @@ class NeoPixel(adafruit_pixelbuf.PixelBuf): brightness :param bool auto_write: True if the neopixels should immediately change when set. If False, `show` must be called explicitly. - :param str pixel_order: Set the pixel color channel order. The default is GRB if bpp is set to 3, otherwise GRBW is used as the default. + :param str pixel_order: Set the pixel color channel order. The default is GRB if bpp is set + to 3, otherwise GRBW is used as the default. Example for Circuit Playground Express: