Configuration

All parameters are optional. They all have a defined default value.

The configuration is stored in the file "ldisplay.txt".

MAX7219
Parameter name
 Description
 max7219_type  matrix, 7segment (default = matrix)
 max7219_intensity  0..15 (default = 4)

WS28xx
Parameter name
 Description
 led_type  WS2801, WS2811, WS2812, WS2812B, WS2813, WS2815, SK6812, SK6812W, APA102,  TLC59711, UCS1903, UCS2903 (default = WS2812B)
 ws28xx_type  matrix, 7segment (default = 7segment)
 ws28xx_intensity 1..255 (default = 255)
 ws28xx_colon_blink_mode off, down, up (default = up)
 ws28xx_colour_segment rrggbb in hex value (default = ff0000)
 ws28xx_colour_colon
 rrggbb in hex value (default = fffc00)
 ws28xx_colour_message rrggbb in hex value (default = ffffff)

Example:
#ldisplay.txt
#ws28xx_type=7segment
#led_type=WS2812B
# Overwrite datasheet #
#led_rgb_mapping=GRB
# WS28xx #
#ws28xx_intensity=255
#ws28xx_colon_blink_mode=up
#ws28xx_colour_segment=ff0000
#ws28xx_colour_colon=fffc00
#ws28xx_colour_message=ffffff
# MAX7219 #
#max7219_type=matrix
#max7219_intensity=4
# APA102 #
#global_brightness=255

LTC Display UI

Comments