computer.turnOn
From ComputerCraft Wiki
(Redirected from Computer.turnOn())
Function computer.turnOn | |
Turns on a Computer or Turtle wrapped to the computer variable. | |
Syntax | computer.turnOn() |
Returns | nil |
Part of | ComputerCraft |
API | peripheral |
Examples
Example | |
Turns on the computer or turtle on the right side of the calling machine. | |
Code |
local computer = peripheral.wrap("right") computer.turnOn() |
Output | Turns on any computer to the right of the computer/turtle. |