redstone.getBundledOutput

From ComputerCraft Wiki
Revision as of 11:50, 18 July 2013 by Cranium (Talk | contribs) (Changing int to number)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function redstone.getBundledOutput
No description provided.
Syntax redstone.getBundledOutput(string side)
Returns number 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.