Computer (API)

From ComputerCraft Wiki
Revision as of 10:22, 20 January 2013 by Eric (Talk | contribs) (Created page with "'''''computer'' stands for the variable you wrapped the computer to.''' ''Example:'' computer = peripheral.wrap( "top" ) {| class="wikitable" !Method name !Description |- |co...")

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

computer stands for the variable you wrapped the computer to. Example: computer = peripheral.wrap( "top" )

Method name Description
computer.turnOn() Turns on the Computer or Turtle.
computer.shutdown() Shuts off the Computer or Turtle.
computer.reboot() Reboots the Computer or Turtle.
computer.getID() Gets the ID of the Computer or Turtle.