redstone.getBundledOutput

From ComputerCraft Wiki
Revision as of 17:22, 8 July 2012 by Banane9 (Talk | contribs) (changed the content to the function template, anyone please review this - never used the function)

Jump to: navigation, search


Grid Redstone.png  Function redstone.getBundledOutput
No description provided.
Syntax redstone.getBundledOutput(string side)
Returns int the value of the colors that are activated on that side
Part of ComputerCraft
API redstone

Examples

Grid paper.png  Example
Prints the value of the active colors on the back
Code
print (redstone.getBundledOutput ("back"))
Output the value of the colors, for example 1 if only white is active.