bibliopixel.drivers.channel_order module

class bibliopixel.drivers.channel_order.ChannelOrder[source]

Bases: object

Helper class to automatically convert string values into tuple values needed to define color channel order.

BGR = (2, 1, 0)
BRG = (2, 0, 1)
GBR = (1, 2, 0)
GRB = (1, 0, 2)
ORDERS = ((0, 1, 2), (0, 2, 1), (1, 0, 2), (1, 2, 0), (2, 0, 1), (2, 1, 0))
RBG = (0, 2, 1)
RGB = (0, 1, 2)
static make(x)[source]