From ComputerCraft Wiki
Revision as of 13:29, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Colors is not a type, and an object of type Colors is not returned; it is an integer value.)

Jump to: navigation, search

Grid Redstone.png  Function redstone.getBundledInput
No description provided.
Syntax redstone.getBundledInput(string side)
Returns The integer representation of the colours (see Colors (API)) that are activated on that side
Part of ComputerCraft
API redstone


Grid paper.png  Example
Checks whether the blue part of the back input is active
print (colors.test (redstone.getBundledInput("back"),
Output true if the blue part of the back input is active, otherwise false