Function max_7219_led_matrix_util::prepare_display
source · [−]Expand description
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).
display
- mutable reference to Max7219 display driverdisplay_count
- count of displays connected to the MAX7219intensity
- brightness for the display; value between0x00
and0x0F