I am making an elevator using bundled cables. You press a button and it sends the minecart up to that same color floor.
The code runs for a bit, and then crashes giving the "too long without yielding" error.
Here it is:
while true do
if redstone.testBundledInput("right", colors.orange) then
redstone.setBundledOutput("left", 0)
redstone.setBundledOutput("left", colors.orange)
end
if redstone.testBundledInput("right", colors.magenta) then
redstone.setBundledOutput("left", 0)
redstone.setBundledOutput("left", colors.magenta)
end
end
restart("")
Hoping someone can give some insight as to why I am getting this error. And hopefully it will help OP also.












