55 posts
Posted 01 April 2012 - 12:18 AM
Hi,
i can send a signal over it
shell.run ("redset", "side" "color", "true")
but can i check the status "input" ?
718 posts
Location
Hawaii
Posted 01 April 2012 - 12:44 AM
[quote
redstone.getBundledInput Function redstone.getBundledInputSyntax:
redstone.getBundledInput(string side)Returns: colors the colours that are activated on that sidePart of: ComputerCraftAPI: Redstone
Examples: Description: Checks whether the blue part of the back input is activeCode: print(colors.test(redstone.getBundledInput("back"), colors.blue))
Output: true if the blue part of the back input is active, otherwise false
Copied from
http://computercraft.info/wiki/index.php?title=Redstone.getBundledInputUse redstone.getBundledInput