redstone.setBundledOutput

From ComputerCraft Wiki
Revision as of 13:41, 11 March 2012 by 62.238.74.153 (Talk) (Created page with "{{lowercase}} {{Function |name=redstone.setBundledOutput |args=string side, int colors |api=redstone |returns=? |addon=ComputerCraft |examples= {{Example |desc=Toggles...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function redstone.setBundledOutput
No description provided.
Syntax redstone.setBundledOutput(string side, int colors)
Returns ?
Part of ComputerCraft
API redstone

Examples

Grid paper.png  Example
Toggles between the black and white wires every two seconds
Code
while(true) do
redstone.setBundledOutput("back", colors.black)
sleep(2)
redstone.setBundledOutput("back", colors.white)
sleep(2)
end
Output (nothing on the screen)