Package rstem :: Package led_matrix :: Module led_driver
[hide private]
[frames] | no frames]

Module led_driver

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