Skip to content
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
10 changes: 8 additions & 2 deletions adafruit_dotstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,19 @@

START_HEADER_SIZE = 4

# Pixel color order constants
RBG = "PRBG"
"""Red Blue Green"""
RGB = "PRGB"
"""Red Green Blue"""
GRB = "PGRB"
"""Green Red Blue"""
GBR = "PGBR"
"""Green Blue Red"""
BRG = "PBRG"
"""Blue Red Green"""
BGR = "PBGR"
BGR = "PBGR"
"""Blue Green Red"""


class DotStar(_pixelbuf.PixelBuf):
Expand Down Expand Up @@ -103,7 +109,7 @@ class DotStar(_pixelbuf.PixelBuf):

.. py:attribute:: brightness

Overall brightness of the dotstar (0 to 1.0)
Overall brightness of all dotstars (0 to 1.0)
"""

def __init__(
Expand Down