Strip

class ardurpc.handler.strip.Base(**kwargs)[source]

Wrapper.

getColorCount()[source]

Return the number of colors.

Returns:Number of colors 1, 2 or 3
Return type:Integer
getPixelCount()[source]

Return the number of pixels.

Returns:Number of pixels
Return type:Integer
setPixelColor(n, color)[source]

Set the color of a pixel.

Parameters:
  • n (Integer) – The pixel index (0 - (16^2)-1)
  • color (List|Integer) – The color
Returns:

command result

setRangeColor(start, end, color)[source]

Set the color of a pixel.

Parameters:
  • start (Integer) – The pixel to start
  • end (Integer) – The pixel to stop
  • color (List|Integer) – The color
Returns:

command result

class ardurpc.handler.strip.Extended(**kwargs)[source]

Wrapper.

show()[source]

Transmit the current values to the LEDs.