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

Help?

Started by fresser, 10 September 2012 - 02:31 PM
fresser #1
Posted 10 September 2012 - 04:31 PM
local i = 0
repeat
rs.setBundledOutput("left", 1)
sleep(0.4)
rs.setBundledOutput("left", 0)
i = i + 1
until i == 10

Why doesn't it pulse the white cable in the bundle?
GopherAtl #2
Posted 11 September 2012 - 05:37 AM
you only sleep between turning it on and turning it off, so it's probably turning right back on. Sleep after both setBundledOutput lines.

Also, completely wrong subforum, this should've been in ask a pro, not programs. Programs is for sharing programs that work, at least partially, and others might find useful/fin. "Ask a pro" is for coding help, etc.