CraftBook 3

CraftBook 3

139k Downloads

MC2500 Delayer: Being able to remember total "high" time

LadyCailinBot opened this issue ยท 8 comments

commented

CRAFTBOOK-2585 - Reported by pmpmpm

Hello,

Actually the MC2500 Delayer immediately stops when input goes from high to low. What about adding somewhere an option (such as a "[:true]" on the third line) to make it remember how much time the IC was was powered on, and outputs high for the correct amount of time?

For example, with a delay of 10, if I stop the IC at t=11s, the IC outputs high until 10+11=21s.

Thanks for readng.

commented

Comment by me4502

What's the current sign syntax of the IC?

commented

Comment by pmpmpm

[MC2500]
Delay
[True]

(Fourth line to set the time to ticks and not seconds)

commented

Comment by me4502

Okay.. I guess I could add this data on the 3rd line like Delay:Extra?

commented

Comment by me4502

I've just added an option to not cancel on low. This seems easier and more sensible to me.

commented

Comment by pmpmpm

Maybe, but what if both configs are needed?

commented

Comment by me4502

What do you mean? I don't understand this issue properly, so I did what made sense to fix it?

commented

Comment by pmpmpm

Er, I mean that it's currently not possible to use a MC2500 Delayer as you'd use a very long chain of Minecraft repeaters, since there is no "memory" of how long the signal was high.

commented

Comment by me4502

Oh, I now understand this... I am not sure however how possible this is.. I'll look into it