[Mod] Digilines LED marquee [git][led_marquee]

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby VanessaE » Sat Feb 02, 2019 6:03 pm

Don't assign channels to the other panels -- just to the leftmost one. You can dig and re-place the others to erase their channels. Send your whole message just once to the leftmost panel's channel, and the code will spread the message across all the panels. That panel becomes the "master", the others to its right are slaved to it.

Send the scroll commands just once, to that same channel. The code will automatically scroll all of the panels repeatedly, at the speed set by the scroll_speed command.

Try this:

Place a panel, give it channel name "foo". Place a bunch more to the right of it, in a line. Make sure they all face the same way, and do not give them channels.

Send these commands to that leftmost panel:

Code: Select all
digiline_send("foo", "clear")
digiline_send("foo", "this is a test string")
digiline_send("foo", "start_scroll")
digiline_send("foo", "scroll_speed 0.5")


There's a more detailed example under "More screenshots" in the opening post.
VanessaE
Moderator
 
Posts: 4393
Joined: Sun Apr 01, 2012 12:38 pm
GitHub: VanessaE
In-game: VanessaE

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby minetest-user » Sat Feb 02, 2019 6:14 pm

VanessaE wrote:Don't assign channels to the other panels -- just to the leftmost one. You can dig and re-place the others to erase their channels. Send your whole message just once to the leftmost panel's channel, and the code will spread the message across all the panels. That panel becomes the "master", the others to its right are slaved to it.

Send the scroll commands just once, to that same channel. The code will automatically scroll all of the panels repeatedly, at the speed set by the scroll_speed command.

Try this:

Place a panel, give it channel name "foo". Place a bunch more to the right of it, in a line. Make sure they all face the same way, and do not give them channels.

Send these commands to that leftmost panel:

Code: Select all
digiline_send("foo", "clear")
digiline_send("foo", "this is a test string")
digiline_send("foo", "start_scroll")
digiline_send("foo", "scroll_speed 0.5")


There's a more detailed example under "More screenshots" in the opening post.


Thanks for help!
minetest-user
New member
 
Posts: 3
Joined: Sat Feb 02, 2019 5:24 pm

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby Phoenixflo44 » Thu Feb 07, 2019 7:23 pm

Is there also a guide here for stupid ones like me?
Phoenixflo44
Member
 
Posts: 630
Joined: Fri Jul 28, 2017 3:01 pm
In-game: Phoenixflo44

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby VanessaE » Thu Feb 07, 2019 7:34 pm

The first post has all the details.
VanessaE
Moderator
 
Posts: 4393
Joined: Sun Apr 01, 2012 12:38 pm
GitHub: VanessaE
In-game: VanessaE

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby Phoenixflo44 » Thu Feb 07, 2019 7:50 pm

And I don't understand those details. Never knew me with mesecon's commands.
Phoenixflo44
Member
 
Posts: 630
Joined: Fri Jul 28, 2017 3:01 pm
In-game: Phoenixflo44

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby VanessaE » Thu Feb 07, 2019 8:16 pm

Well, like my Nixie Tube mod, this is only intended to be used with Digilines, so you'll need to learn a bit of Lua and how to use Lua Controllers to send Digilines commands.
VanessaE
Moderator
 
Posts: 4393
Joined: Sun Apr 01, 2012 12:38 pm
GitHub: VanessaE
In-game: VanessaE

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby Phoenixflo44 » Sat Feb 09, 2019 6:46 pm

Thank you for this help. I had already faulted the helpfulness of this community. And for me to learn something, you have to explain it more often. But I didn't return to listen to such a garbage.
Phoenixflo44
Member
 
Posts: 630
Joined: Fri Jul 28, 2017 3:01 pm
In-game: Phoenixflo44

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby v-rob » Sat Feb 09, 2019 10:24 pm

Phoenixflo44 wrote:Thank you for this help. I had already faulted the helpfulness of this community. And for me to learn something, you have to explain it more often.
v-rob
Member
 
Posts: 623
Joined: Thu Mar 24, 2016 3:19 am
GitHub: v-rob

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby VanessaE » Sat Feb 09, 2019 10:32 pm

Thanks for posting that tutorial. Nice work, I couldn't have done it better myself. :-)
VanessaE
Moderator
 
Posts: 4393
Joined: Sun Apr 01, 2012 12:38 pm
GitHub: VanessaE
In-game: VanessaE

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby NOWMONWON » Mon Apr 22, 2019 7:07 am

I love this mod but have yet to get it to fully function.

I've read everything I can find on it and have yet to figure out what I am missing.

So far I can get the first LED panel to work.
I can get strings to work and I can get color changes.
I am unable to get the second and following panels to work at all though.

My arrangement is Luacontroller > Digiline > LED Marquee panel > another panel > another panel and so on.

I have tried spinning them 90 degrees and no matter how I arrange them, panel 1 lights up and number 2 and any after that don't light up.

This is the last code I tried using but so far no luck.

digiline_send("DVB", "clear")
digiline_send("DVB", "/8 This is a test string")
digiline_send("DVB", "start_scroll")
digiline_send("DVB", "scroll_speed 0.5")

Thanks
DAve
NOWMONWON
New member
 
Posts: 3
Joined: Mon Apr 22, 2019 6:58 am
In-game: NOWMONWON

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby VanessaE » Mon Apr 22, 2019 8:02 am

You're not giving the other panels channel names are you? That's about the only reason they'd not react.
VanessaE
Moderator
 
Posts: 4393
Joined: Sun Apr 01, 2012 12:38 pm
GitHub: VanessaE
In-game: VanessaE

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby NOWMONWON » Tue Apr 23, 2019 1:25 am

No I made sure not to let them have names in the channel box.

I got one to work on my building and another I have yet to get working.
I"m not quite sure what could be different between the two.

Does it matter what A B C D you are connected to? I tried to duplicate the two.
Perhaps it matters what kind of block is under it?
NOWMONWON
New member
 
Posts: 3
Joined: Mon Apr 22, 2019 6:58 am
In-game: NOWMONWON

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby VanessaE » Tue Apr 23, 2019 1:54 am

The output pin doesn't matter, nor does it care what blocks are nearby.
VanessaE
Moderator
 
Posts: 4393
Joined: Sun Apr 01, 2012 12:38 pm
GitHub: VanessaE
In-game: VanessaE

Re: [Mod] Digilines LED marquee [git][led_marquee]

Postby NOWMONWON » Tue Apr 23, 2019 10:23 pm

OK thanks. I'll keep workin on it. : )
NOWMONWON
New member
 
Posts: 3
Joined: Mon Apr 22, 2019 6:58 am
In-game: NOWMONWON



Return to Mod Releases



Who is online

Users browsing this forum: Yandex Bot [Bot] and 0 guests