updated
This commit is contained in:
@@ -21,6 +21,8 @@ local function run()
|
|||||||
sleep(1)
|
sleep(1)
|
||||||
end
|
end
|
||||||
local methods = peripheral.getMethods("left")
|
local methods = peripheral.getMethods("left")
|
||||||
|
local env = peripheral.wrap("left")
|
||||||
|
env.turnOn()
|
||||||
for index, value in ipairs(methods) do
|
for index, value in ipairs(methods) do
|
||||||
print("Method " .. index .. ": " .. value)
|
print("Method " .. index .. ": " .. value)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user