redstone.getBundledInput
From ComputerCraft Wiki
| No description provided. | |
| Syntax | redstone.getBundledInput(string side) |
| Returns | The number representation of the colours (see Colors (API)) that are activated on that side |
| Part of | ComputerCraft |
| API | redstone |
Examples
| Checks whether the blue part of the back input is active | |
| Code |
print (colors.test (redstone.getBundledInput("back"), colors.blue)) |
| Output | true if the blue part of the back input is active, otherwise false |