|
|
|
|
|
|
|
int
|
|
|
tuple
|
|
|
|
display_on_terminal()
Toggles on and off the terminal display of the led matrix on show() |
source code
|
|
|
|
init_matrices(mat_list=[(0, 0, 0)],
math_coords=True,
spi_speed=125000,
spi_port=0)
Creates a chain of led matrices set at particular offsets into the
frame buffer The order of the led matrices in the list indicate the
order they are physically hooked up with the first one connected to
Pi. |
source code
|
|
|
|
init_grid(num_rows=None,
num_cols=None,
angle=0,
math_coords=True,
spi_speed=125000,
spi_port=0)
Initiallizes led matrices in a grid pattern with either a given
number of rows and columns. |
source code
|
|
|
int
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
rect(origin,
dimensions,
fill=True,
color=15)
Creates a rectangle from start point using given dimensions |
source code
|
|
|
|
|
|
|
line(point_a,
point_b,
color=15)
Create a line from point_a to point_b. |
source code
|
|
|
|
|
|
LEDText
|
text(text,
origin=(0, 0),
crop_origin=(0, 0),
crop_dimensions=None,
font_name='small',
font_path=None)
Sets given string to be displayed on the led matrix |
source code
|
|
|
|
sprite(sprite,
origin=(0, 0),
crop_origin=(0, 0),
crop_dimensions=None)
Sets given sprite into the framebuffer. |
source code
|
|
|
|
frame(numpy_bitmap)
Sends the entire frame (represented as a numpy bitmap) to the led
matrix. |
source code
|
|
|
LEDSprite
|
|
|
|
|