Difference between revisions of "Redstone.setBundledOutput"
From ComputerCraft Wiki
Smiley43210 (Talk | contribs) m (Changed to use type template) |
(Changing int to number) |
||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=redstone.setBundledOutput | |name=redstone.setBundledOutput | ||
− | |args={{type|string}} side, {{type| | + | |args={{type|string}} side, {{type|number}} colors |
|api=redstone | |api=redstone | ||
|returns=? | |returns=? |
Revision as of 11:04, 18 July 2013
Function redstone.setBundledOutput | |
No description provided. | |
Syntax | redstone.setBundledOutput(string side, number 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
Example | |
Unsets the output (removes all power) | |
Code |
function unsetAll(sSide) |
Output | (nothing on the screen) |