computer.turnOn

From ComputerCraft Wiki
(Redirected from Computer.turnOn())
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

Examples

Grid paper.png  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.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox