Redstone.getOutput
From ComputerCraft Wiki
Revision as of 16:06, 6 May 2012 by Sxw1212 (Talk | contribs) (Created page with "Redstone.getOutput(side) returns whatever you had set with Redstone.setOutput(side, out). == Example == redstone.setOutput("left", true) -- Set the output on the left to true...")
Redstone.getOutput(side) returns whatever you had set with Redstone.setOutput(side, out).
Example
redstone.setOutput("left", true) -- Set the output on the left to true
print(redstone.getOutput("left")) -Print the output