peripheral.find

peripheral.find
Function
Syntax
peripheral.find(
  • type : string
)

Returns table
API peripheral

Find a peripheral on the network.

ExampleFind a monitor.
Find a monitor on the wired network.
Code
<nowiki>local monitor = peripheral.find(monitor)</nowiki>
Output table
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.