From ComputerCraft Wiki
Revision as of 10:55, 1 June 2014 by MKlegoman357 (Talk | contribs) (Fixed/Expanded)

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

Grid Redstone.png  Function computer.turnOn
Turns on a Computer or Turtle wrapped to the computer variable.
Syntax computer.turnOn()
Returns nil
Part of ComputerCraft
API peripheral


Grid paper.png  Example
Turns on the computer or turtle on the right side of the calling machine.
local computer = peripheral.wrap("right")

Output Turns on any computer to the right of the computer/turtle.