#NEWLINE# def __init__( self , num , c_order = ChannelOrder . RGB , use_py_spi = True , dev = '/dev/spidev0.0' , SPISpeed = 1 ) : #NEWLINE# #INDENT# if ( ( SPISpeed > 1 ) or ( SPISpeed <= 0 ) ) : #NEWLINE# #INDENT# raise ValueError ( 'WS2801 requires an SPI speed no greater than 1MHz or SPI speed was set <= 0' ) #NEWLINE# #UNINDENT# super ( DriverWS2801 , self ) . __init__ ( num , c_order = c_order , use_py_spi = use_py_spi , dev = dev , SPISpeed = SPISpeed ) #NEWLINE# self . gamma = gamma . WS2801