Warning

This is the dev documentation for an unreleased version of MPF!

This is the documentation for MPF 0.56+, which is the “dev” (next) release of MPF that is a work-in-progress. Unless you’re specifically looking for this version, you probably want to use the version of documentation called “latest” which is for the latest released version of MPF. That documentation is at docs.missionpinball.org/en/latest.

openpixel (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.

Note that there are multiple machine config examples here. They’re just included to show different options. You wouldn’t actually use more than one.

#config_version=5

lights:
  test_led:
    number: 99
    type: grb
  test_led2:
    number: 0-20
    type: grb
  test_led3:
    number: 1-99
    type: grb
#config_version=5

config:
- config.yaml

lights:
  test_rgbw:
    channels:
      red:
        - number: 2-0
      green:
        - number: 2-1
      blue:
        - number: 2-2
      white:
        - number: 2-3
  test_rgbw2:
    channels:
      red:
        - number: 2-4
      green:
        - number: 2-5
      blue:
        - number: 2-6
      white:
        - number: 2-7
  test_led_serial:
    previous: test_led2
    type: rgb
  test_led_serial2:
    previous: test_led_serial
    type: rgbw