Posted 08 June 2012 - 02:31 PM
I am using a redsotne cable that is connected to my computer or a bundled cable.
So my script goes as follows
if rs.testBundledInput("left",colours.black) then
print("Induction furnace is running")
end
So it works fine and all but,
as i am using the Eu detector cable at the bottom of my Induction furnace so that when Eu is
flowing through it emits a signal to my computer.
however to keep the furnace running at 100% heat it every now and then requires a burst of Eu.
And i dont want my Computer to display "Induction furnace is on" everytime it just gets redsonte for 1
second.
I think i have a selution to my problem but dont know how to script it so what better place to ask for help than here.
I was thinking of maing it if the computer receives a signal for 3 second or more it should
print("Inductionfurnace is running")
oherwise it should desplay nothing.
Any script that might be used for this?
please help
Sasuke
So my script goes as follows
if rs.testBundledInput("left",colours.black) then
print("Induction furnace is running")
end
So it works fine and all but,
as i am using the Eu detector cable at the bottom of my Induction furnace so that when Eu is
flowing through it emits a signal to my computer.
however to keep the furnace running at 100% heat it every now and then requires a burst of Eu.
And i dont want my Computer to display "Induction furnace is on" everytime it just gets redsonte for 1
second.
I think i have a selution to my problem but dont know how to script it so what better place to ask for help than here.
I was thinking of maing it if the computer receives a signal for 3 second or more it should
print("Inductionfurnace is running")
oherwise it should desplay nothing.
Any script that might be used for this?
please help
Sasuke