p_roc:
pd_led_boards:
0:
use_ws281x_0: TRUE
use_ws281x_1: TRUE
ws281x_0_first_address: 100
ws281x_0_last_address: 249
ws281x_1_first_address: 250
ws281x_1_last_address: 399 l_serial_left_0:
number: 0-100-101-102
default_on_color: white
subtype: led
l_serial_left_1:
number: 0-103-104-105
default_on_color: white
subtype: led
l_serial_left_2:
number: 0-106-107-108
default_on_color: white
subtype: led
.
.
.
l_serial_left_48:
number: 0-244-245-246
default_on_color: white
subtype: led
# Right
l_serial_right_0:
number: 0-250-251-252
default_on_color: white
subtype: led
l_serial_right_1:
number: 0-253-254-255
default_on_color: white
subtype: led
l_serial_right_2:
number: 0-256-257-258
default_on_color: white
subtype: led
.
.
.
l_serial_right_48:
number: 0-394-395-396
default_on_color: white
subtype: led
#show_version=5
- duration: 1s
lights:
# Left
l_serial_left_0: WHITE
l_serial_left_1: WHITE
l_serial_left_2: WHITE
l_serial_left_3: WHITE
.
.
.
l_serial_right_48: WHITE- duration: 1s
show_player:
shot_ball_plunged_hit:
serials_always_on:
loops: -1
priority: 10 l_serial_left_0:
number: 0-100-101-102
default_on_color: white
subtype: led tags: gi
show_player:
shot_ball_plunged_hit:
gi_on:
action: play
shows:
gi_on:
- lights:
gi:
color: white
The way you are doing you might need to key the shows?
Set "duration: -1" to your show and it will run until stopped (and will not loop). This will save you a few updates per second which might cause your issues.Jan
Can you try mpf dev? We did some improvements there. If you set debug: True inside the p3_roc section you should also see what mpf sends to the P3-Roc. That should allow us to understand your problem. Unfortunately, that debug is only available in dev.
Jan
Jan
|
Single LED address |
Serial LED they come up as when Serial is on |
|
0-0-1-2 |
0-256-257-258 |
|
0-3-4-5 |
0-259-260-261 |
|
0-6-7-8 |
0-262-263-264 |
|
0-9-10-11 |
0-265-266-267 |
|
0-12-13-14 |
0-268-269-270 |
|
0-15-16-17 |
0-271-272-273 |
|
0-18-19-20 (not used) |
0-274-275-276 (assumed) |
|
0-21-22-23 |
0-277-278-279 |
|
0-24-25-26 |
0-280-281-282 |
|
0-27-28-29 |
0-283-284-285 |
|
0-30-31-32 |
0-286-287-288 |
|
0-33-34-35 |
0-289-290-291 |
|
0-36-37-38 |
0-292-293-294 |
|
0-39-40-41 |
0-295-296-297 |
|
0-42-43-44 |
0-298-299-300 |
|
0-45-46-47 |
0-301-302-303 |
|
0-48-49-50 |
0-304-305-306 |
|
0-51-52-53 |
0-307-308-309 |
|
0-54-55-56 |
0-310-311-312 |
|
0-57-58-59 |
0-313-314-315 |
|
0-60-61-62 |
0-316-317-318 |
|
0-63-64-65 |
0-319-320-321 |
|
0-66-67-68 |
0-322-323-324 |
|
0-69-70-71 |
0-325-326-327 |
I talked to Gerry and it turns out that you probably need a feature for LEDs above 256 which is only in MPF dev. Can you give dev a try?
Jan
Jan
Soon you'll be moving to a new hardware platform that makes it all easier to code :P
Jan
MPF Command Serial Light Colour
GREEN RED
BLUE BLUE
RED GREEN
YELLOW YELLOW
PURPLE LIGHT BLUE or CYAN maybe
WHITE WHITE
--
You received this message because you are subscribed to the Google Groups "MPF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpf-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/12c2deb5-03c0-4883-8c66-b931eccf16bf%40googlegroups.com.
type: grb
subtype: led
mpf: default_light_hw_update_hz: 50
Jan