adafruit_blinka_raspberry_pi5_piomatter.Geometry

class adafruit_blinka_raspberry_pi5_piomatter.Geometry

Describe the geometry of a set of panels

width and height give the panel resolution in pixels.

n_addr_lines gives the number of connected address lines.

The number of pixels in the shift register is automatically computed from these values.

serpentine controls the arrangement of multiple panels when they are stacked in rows. If it is True, then each row goes in the opposite direction of the previous row.

rotation controls the orientation of the panel(s). Must be one of the Orientation constants. Default is Orientation.Normal.

n_planes controls the color depth of the panel. This is separate from the framebuffer layout. Decreasing n_planes can increase FPS at the cost of reduced color fidelity. The default, 10, is the maximum value.

__init__(self: adafruit_blinka_raspberry_pi5_piomatter.Geometry, width: int, height: int, n_addr_lines: int, serpentine: bool = True, rotation: adafruit_blinka_raspberry_pi5_piomatter.Orientation = <Orientation.Normal: 0>, n_planes: int = 10) None

Methods

__init__(self, width, height, n_addr_lines, ...)

Attributes

height

width