redstone.getBundledInput

From ComputerCraft Wiki
Revision as of 13:52, 13 May 2012 by 93.218.226.194 (Talk)

Jump to: navigation, search


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

Examples

Grid paper.png  Example
Checks wich color (int) is activated
Code
print(redstone.getBundledInput("back"))
Output the number (1-16) which cable is activated