[−][src]Crate max_7219_led_matrix_util
Provides utility functions on top of "max7219"-crate to display data (like text) on a MAX7219 powered matrix display.
Modules
encoding | Encoding utility functions that helps you to print symbols easily on a MAX7219-powered LED matrix. |
mappings | Provides mappings for a mono spaced font I created myself. The font is not complete and many symbols are missing. This ist just an demonstration how it could be done. |
setup |
Constants
LED_SQUARE_MATRIX_DIM | We use 8x8 square matrices (per single display) |
MAX_DISPLAYS | Maximum supported chained displays by MAX7219. |
Functions
prepare_display | Convenient function that turns on the display, clears the display and sets the brightness to the highest possible value. It also sets the DecodeMode to NoDecode which is necessary for displaying content on the 8x8 matrix display. (Max7219 can also be used for 7 segment displays). |
shift_all_rows_one_bit_left | Shift all row bits one to the left (to the next col). This way you can animate a moving text. |
shop_moving_text_in_loop | Shows a moving text in loop. After each iteration all bits are shifted one col to the left.
Make sure to call |