:mod:`rgbmatrix` ================ .. py:module:: rgbmatrix .. autoapi-nested-parse:: Low-level routines for bitbanged LED matrices .. py:class:: RGBMatrix(*, width: Any, bit_depth: Any, rgb_pins: Any, addr_pins: Any, clock_pin: Any, latch_pin: Any, output_enable_pin: Any, doublebuffer: Any = True, framebuffer: Any = None, height: Any = 0) Displays an in-memory framebuffer to a HUB75-style RGB LED matrix. .. attribute:: brightness :annotation: :Any In the current implementation, 0.0 turns the display off entirely and any other value up to 1.0 turns the display on fully. .. attribute:: width :annotation: :int The width of the display, in pixels .. attribute:: height :annotation: :int The height of the display, in pixels .. method:: deinit(self) Free the resources (pins, timers, etc.) associated with this rgbmatrix instance. After deinitialization, no further operations may be performed. .. method:: refresh(self)