Difference between revisions of "Redstone.setBundledOutput"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Int linking fix.) |
||
| Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=redstone.setBundledOutput | |name=redstone.setBundledOutput | ||
| − | |args=[[string]] side, [[int]] colors | + | |args=[[string]] side, [[int (type)|int]] colors |
|api=redstone | |api=redstone | ||
|returns=? | |returns=? | ||
Revision as of 18:29, 30 November 2012
| No description provided. | |
| Syntax | redstone.setBundledOutput(string side, int colors) |
| Returns | ? |
| 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
| Unsets the output (removes all power) | |
| Code |
function unsetAll(sSide) |
| Output | (nothing on the screen) |