Giter Site home page Giter Site logo

missionpinball's Introduction

missionpinball

Organizational repo for Mission Pinball. Holds the discussions, the overall readme docs, etc.

missionpinball's People

Contributors

toomanybrians avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

missionpinball's Issues

issue with lcd as DMD setup

Discussed in https://github.com/orgs/missionpinball/discussions/122

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`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.