Page 1 of 1

Clock on matrixbord (RGB)

Posted: Mon Apr 11, 2016 7:04 pm
by Ruben
Hello,

I have a question.
I make an RGB panel.
Then I go to functions.
Create a matrix and select the fixture.
I 'm going to add virtual console and add clock.
is it possible to displayed on the matrix? (i want to show a countdown timer on the matixbord)
Its a bord of 250 Led's ws2811 (25x10)

Grz Ruben Dijk

Re: Clock on matrixbord (RGB)

Posted: Mon Apr 11, 2016 7:15 pm
by mcallegari
Hello, no that's not possible.
One thing is the virtual console clock widget, one thing is RGB matrices scripts.

You should write a RGB script on your own to do that, but rendering timed characters is not trivial at all in javascript

Re: Clock on matrixbord (RGB)

Posted: Mon Apr 11, 2016 7:27 pm
by Ruben
thank you for the quick response.

I 'm trying to write a java script.
let you know.

Grz Ruben Dijk

Re: Clock on matrixbord (RGB)

Posted: Tue Apr 12, 2016 9:03 pm
by Ruben
Hey I'm back with some good news. I made it work.

The code is not the most beautifull but it works on my matrix board. The way the code is right now is fit to my use. But if you want, there only have to be a few select dropdowns for the time. Then it should be usable for everyone. Feel free to add it :)

Here the code:
http://pastebin.com/Ya8gpdeN

Cheers