From ComputerCraft Wiki
Revision as of 17:46, 6 May 2012 by Onionnion (Added lowercase template; should be properly formatted with the function template)
Redstone.getOutput(side) returns whatever you had set with Redstone.setOutput(side, out).
redstone.setOutput("left", true) -- Set the output on the left to true
print(redstone.getOutput("left")) -Print the output