parameters: (self, light, millis, colors)
docstring: Set light color sequence
docstring_summary: Set light color sequence
docstring_tokens: Set light color sequence
function: def set_sequence_rgb8(self, light, millis, colors):
          '''Set light color sequence'''
          assert(millis >= 0 and millis <= 0xffff)
          assert(len(colors) == 16) # must be 16 colors
          pkt = [PKT_HEADER, light, SET_TIMED_COLOR_SEQUENCE, millis >> 8, millis & 255]
          for color in colors:
              assert(len(color) == 3)
              pkt.extend(color)
          self.write(bytes(pkt))
function_tokens: def set_sequence_rgb8 ( self , light , millis , colors ) : assert ( millis >= 0 and millis <= 0xffff ) assert ( len ( colors ) == 16 ) # must be 16 colors pkt = [ PKT_HEADER , light , SET_TIMED_COLOR_SEQUENCE , millis >> 8 , millis & 255 ] for color in colors : assert ( len ( color ) == 3 ) pkt . extend ( color ) self . write ( bytes ( pkt ) )