I'm trying to run my homebrew alphanumeric display with MPF. Following the writeup of Sir Scott Danesi (
https://www.scottdanesi.com/?p=4220) I designed it to be compatible to the mypinballs displays. If I send commands like
1:1:HELLO?DISPLAY from a serial console to my Teensy which controls the display, it displays just fine. However MPF seems to not send correct data. I set up a test that looks like this (display.yaml):
#config_version=5
hardware:
segment_displays: mypinballs
mypinballs:
port: /dev/ttyUSB0
debug: true
segment_displays:
display1:
number: 1
segment_display_player:
# empty all displays on game start and setup displays
mode_attract_started:
display1:
text: ""
mode_door_open_started:
display1:
text: " COIN DOOR IS OPEN "
mode_door_open_stopped:
display1:
text: " COIN DOOR IS CLOSED "
When I open and close my coindoor, the display is supposed to show the status, but it does not. It blanks when mpf starts, but that's about it. When I look at the serial data that is sent when I open and close the door, it becomes obvious why:
1:1:??<\n>
1:1:<\n>
1:1:???<\n>
1:1:<\n>
1:1:???<\n>
1:1:<\n>
What's also confusing me is that nothing about the displays shows up in the logs, even with debugging enabled and logging for platforms configured to "full".
Any ideas what I'm doing wrong?
Thanks!
-zap