Difference between revisions of "Redstone.setBundledOutput"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
|||
Line 27: | Line 27: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Revision as of 18:53, 28 November 2012
Function redstone.setBundledOutput | |
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
Example | |
Unsets the output (removes all power) | |
Code |
function unsetAll(sSide) |
Output | (nothing on the screen) |