Skip to content

Commit

Permalink
workaround for P-Roc DMD problem
Browse files Browse the repository at this point in the history
  • Loading branch information
jabdoa2 committed Dec 20, 2018
1 parent 66c8f2c commit f48ff10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mpf/platforms/p_roc.py
Expand Up @@ -241,6 +241,9 @@ def __init__(self, pinproc, proc, machine):
# size is hardcoded here since 128x32 is all the P-ROC hw supports
self.dmd = pinproc.DMDBuffer(128, 32)

# work around pypinproc bug (fixed upstream)
self.proc.set_dmd_color_mapping(list(range(0, 16)))

# dmd_timing defaults should be 250, 400, 180, 800
if self.machine.config['p_roc']['dmd_timing_cycles']:
dmd_timing = Util.string_to_list(
Expand Down

0 comments on commit f48ff10

Please sign in to comment.