light_segment_displays (example config files)

Machine config examples

Here are some example machine-wide config files that show real-world examples of how these configs are used.

#config_version=5

hardware:
  segment_displays: light_segment_displays

lights:
  segment1_a:
    number:
  segment1_b:
    number:
  segment1_c:
    number:
  segment1_d:
    number:
  segment1_e:
    number:
  segment1_f:
    number:
  segment1_g:
    number:
  segment2_a:
    number:
  segment2_b:
    number:
  segment2_c:
    number:
  segment2_d:
    number:
  segment2_e:
    number:
  segment2_f:
    number:
  segment2_g:
    number:
  segment3_x0:
    number:
  segment3_x1:
    number:
  segment3_x2:
    number:
  segment3_x3:
    number:
  segment4_x0:
    number:
  segment4_x1:
    number:
  segment4_x2:
    number:
  segment4_x3:
    number:

segment_displays:
  display1:
    number: 1
    platform_settings:
      lights:
        - a: segment1_a
          b: segment1_b
          c: segment1_c
          d: segment1_d
          e: segment1_e
          f: segment1_f
          g: segment1_g
        - a: segment2_a
          b: segment2_b
          c: segment2_c
          d: segment2_d
          e: segment2_e
          f: segment2_f
          g: segment2_g
      type: 7segment
  display2:
    number: 2
    platform_settings:
      lights:
        - x0: segment3_x0
          x1: segment3_x1
          x2: segment3_x2
          x3: segment3_x3
        - x0: segment4_x0
          x1: segment4_x1
          x2: segment4_x2
          x3: segment4_x3
      type: bcd