Originally posted by borgdog November 28, 2023
I'm setting up a lcd screen to have the DMD look at 192x64 size, following the instructions on this page https://missionpinball.org/mc/displays/adding_dot_look_to_lcd/
I was having trouble, so reduced my code down to just what that page shows but at the resolutions I want (plus stuff to actually run). It seems the part where it says "We do not set the number of dots in the DMD here, as that's automatically pulled in from the dmd display setting." is not working. If I don't define the number of dots then it does 128 wide and whatever tall fits in the window. Adding in dots_x and dots_y in the color_dmd slide with the appropriate values and everything works.
So, but in the code maybe? something changed where it doesn't work anymore?
my test config.yaml below, using latest dev (mpf 0.57.0.dev32, mpf-mc 0.57.0dev12)
`#config_version=6
DMDTEST
mpf:
report_crashes: never
hardware:
platform: smart_virtual
window:
width: 1920
height: 640
displays:
window:
width: 1920
height: 640
dmd:
width: 192
height: 64
default: true
slides:
window_slide:
- type: display
effects:
- type: color_dmd
dot_size: .65
dots_x: 192
dots_y: 64
width: 1920
height: 640
dmd_slide:
- type: text
text: DOTS!
- type: rectangle
width: 192
height: 64
color: orange
y: 0
anchor_y: bottom
- type: rectangle
width: 192
height: 64
color: red
y: top
anchor_y: top
slide_player:
init_done:
window_slide:
target: window
dmd_slide:
target: dmd`