light_segment_displays:
This is a config file reference. Click for instructions.
This page is reference material which explains every setting and option for this section of an MPF yaml config file. See the instructions for config files for formatting and other details. See our guide to config file examples for more examples of real configs in action.
Valid in | |
---|---|
machine config files | YES |
mode config files | NO |
The platform_settings:
of your segment_displays
section is where you
map segment displays to lights when using the
light segment displays platform.
Optional settings
The following sections are optional in the light_segment_displays:
section of your config. (If you don't include them, the default will be
used).
display_flash_duty:
Single value, type: number
(will be converted to floating point).
Default: 0.5
For 7segment your segments are: a, b, c, d, e, f, g and dp (see: 7-Segment Displays in Wikipedia for details) For BCD your segments are: x0, x1, x2, x3 and dp (see: Binary Coded Decimal in Wikipedia for details) For 14segment your segments are: l, m, n, k, j, h, g2, g1, f, e, d, c, b, a and dp (see: 14 Segment Displays in Wikipedia for details) For 16segment your segments are: u, t, s, r, p, n, m, k, h, g, f, e, d, c, b, a and dp (see: 16 Segment Displays in Wikipedia for details)
dp is an optional decimal point per display.
display_flash_frequency:
Single value, type: number
(will be converted to floating point).
Default: 1.0
How fast should the displays flash? Defaults to once per second or 1Hz.
Related How To guides
- How to Connect Segment Displays as Lights to MPF
- Alpha-Numeric / Segment Displays
- Segment Display Platforms in MPF
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