cancel
Showing results for 
Search instead for 
Did you mean: 

Script help - scrolling marquee

Ukuleleman2010
Level 3

So last night I created a scrolling marquee. It works...but I could use some refinement. 

 

Here's the script that uses parent and child blocks, very simple.

 

When world is started

   Send (my event) to (self)

When (my event) is received

 Set color of (child) to (color of (parent))

   Send (my event) to self with delay of [1] sec

 

Now with this setup, I have a matrix of dots (LEDs) that's 7×20, each row has a mixture of 2 colors representing on and off. 

:black_circle::red_circle::red_circle::black_circle::black_circle::red_circle::red_circle::red_circle::black_circle::black_circle::black_circle::red_circle::red_circle::black_circle::black_circle::red_circle::red_circle::red_circle::black_circle::black_circle:

:red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle:

:red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::black_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle:

:red_circle::red_circle::red_circle::red_circle::black_circle::red_circle::red_circle::red_circle::black_circle::black_circle::red_circle::black_circle::black_circle::black_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle:

:red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::black_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle:

:red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::black_circle::black_circle::red_circle::black_circle:

:red_circle::black_circle::black_circle::red_circle::black_circle::red_circle::red_circle::red_circle::black_circle::black_circle::black_circle::red_circle::red_circle::black_circle::black_circle::red_circle::red_circle::red_circle::black_circle::black_circle:

 

The issue I have is when I speed it up, the colors blink off time and throws the whole marquee off and it starts to look like static. How can I fix this?

2 REPLIES 2

Ukuleleman2010
Level 3

Sorry about the color blocks, didn't realize it didn't transfer loo so ignore them as they were an example of what I built using emoji dots

teerez83
Level 4

Have a video by chance? One with it working right and one with it sped up. Having a hard time picturing the blinking off time issue.