rstem.led_matrix.led_driver module
Functions
def detect(
...)
Returns the number of matrices connected
def display_on_terminal(
...)
Toggles on and off display_on_terminal mode
def fill(
...)
Fills all matrices with the given color.
def flush(
...)
Converts current frame buffer to a bistream and then sends it to SPI port.
def frame(
...)
Exchanges current framebuffer for a numpy framebuffer.
def init_SPI(
...)
Initialize the SPI with given speed and port.
def init_matrices(
...)
Initializes the give LED matrices in the list.
def line(
...)
Sets a line from given source to destination.
def point(
...)
Sets a point in the frame buffer.
def shutdown_matrices(
...)
Closes the SPI and frees all memory.