redstone.testBundledInput
From ComputerCraft Wiki
Revision as of 17:00, 8 July 2012 by Banane9 (Talk | contribs) (created the page, anyone please check - never used that function)
| No description provided. | |
| Syntax | redstone.testBundledInput(string side, int color value) |
| Returns | boolean true if on, false if off |
| Part of | ComputerCraft |
| API | redstone |
Examples
| Checks whether the blue part of the back input is active | |
| Code |
print (redstone.testBundledInput ("back", colors.blue)) |
| Output | true if the blue part of the back input is active, otherwise false |