Difference between revisions of "Redstone.setBundledOutput"
From ComputerCraft Wiki
m (Int linking fix.) |
Smiley43210 (Talk | contribs) m (Changed to use type template) |
||
| Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=redstone.setBundledOutput | |name=redstone.setBundledOutput | ||
| − | |args= | + | |args={{type|string}} side, {{type|int}} colors |
|api=redstone | |api=redstone | ||
|returns=? | |returns=? | ||
Revision as of 00:11, 6 May 2013
| 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) |