Difference between revisions of "Redstone.getBundledOutput"
From ComputerCraft Wiki
(changed the content to the function template, anyone please review this - never used the function) |
m (Moved to CAT:LuaCoreFunctions) |
||
Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Revision as of 18:53, 28 November 2012
Function redstone.getBundledOutput | |
No description provided. | |
Syntax | redstone.getBundledOutput(string side) |
Returns | int the value of the colors that are activated on that side |
Part of | ComputerCraft |
API | redstone |
Examples
Example | |
Prints the value of the active colors on the back | |
Code |
print (redstone.getBundledOutput ("back")) |
Output | the value of the colors, for example 1 if only white is active. |