This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
KevinW1998's profile picture

reset Bundled Output doesn't work

Started by KevinW1998, 13 July 2012 - 06:53 AM
KevinW1998 #1
Posted 13 July 2012 - 08:53 AM

function unsetAll(sSide)
	redstone.setBundledOutput(sSide, 0)
end
Code from Wiki: http://computercraft.info/wiki/index.php?title=Redstone.setBundledOutput
I don't know why it doesn't work…
It's only getting reset after the programm finished!

NOTE: I've used SMP! Maybe it's a server problem or something like that.

Kevin
Pinkishu #2
Posted 13 July 2012 - 01:41 PM
Maybe you just call it at the wrong time?
KevinW1998 #3
Posted 13 July 2012 - 03:36 PM
nope cuz when I use:

for i=1,10 do
redstone.setBundledOutput("right", colors.white)
sleep(2)
redstone.setBundledOutput("right", 0)
sleep(2)
end

Won't work either!
Cloudy #4
Posted 13 July 2012 - 04:01 PM
That code looks fine. You sure the bundled cable is on the right hand side, and that nothing else is keeping the white cable on?
KevinW1998 #5
Posted 13 July 2012 - 06:22 PM
Yep it is active at start but it doesn't get deactivated during the programm.. only at the end
KevinW1998 #6
Posted 13 July 2012 - 08:44 PM
Does really nobody knows why it doesn't work?
OmegaVest #7
Posted 13 July 2012 - 10:10 PM
I've also noticed this problem. I spent an hour working on it before I decided to just try again. I labelled the computer (So I didn't lose the other programs I built), picked it up and moved it three blocks. . . north I think, and it worked after that. Just, add a sleep(0.2) to the end of the function.