Skip to content

Alpha-Numeric / Segment Displays

Related Config File Sections:

MPF supports segment displays and alpha numeric displays. There are several hardware options available: Segment Display Platforms in MPF.

1. Configure your segment displays in MPF config

You can use the following tested config snippet as a starting point to implement segment displays (make sure to use the correct numbers for your hardware).

2. Implement virtual segment displays

If you don't have or want phyiscal segment displays you can also emulate them using the following slides:

slides:
  segment_displays:
    widgets:
      - type: text
        text: (player1|score)
        number_grouping: true
        min_digits: 2
        font_name: ten_segment
        color: blue
        x: 620
        y: 724
        font_size: 240
        anchor_x: right
        anchor_y: bottom
        z: 2
# show slide on game start
slide_player:
  game_started: segment_displays
##! test
#! start_game
#! advance_time_and_run .1
#! assert_slide_on_top segment_displays

Something missing or wrong? You can fix it!

This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results