redstone.setBundledOutput
From ComputerCraft Wiki
Revision as of 00:25, 19 September 2012 by 184.60.9.204 (Talk)
Function redstone.setBundledOutput | |
No description provided. | |
Syntax | redstone.setBundledOutput(string side, int colors) |
Returns | int 1,2,4,8,16,32 .... |
Part of | ComputerCraft |
API | redstone |
Examples
Basic usage
Combining outputs
The value is passed as an integer, so sending multiple colors is as easy as adding them together:
Clearing the output
Example | |
Unsets the output (removes all power) | |
Code |
function unsetAll(sSide) |
Output | (nothing on the screen) |