diff --git a/temperature_monitor.lua b/temperature_monitor.lua index 2755ece..197506c 100644 --- a/temperature_monitor.lua +++ b/temperature_monitor.lua @@ -1,7 +1,12 @@ local function report() - local reactor = peripheral.find("fissionReactorLogicAdapter") - return reactor.getTemerature() + local peripherals = peripheral.getNames() + for i, name in ipairs(peripherals) do + print("Peripheral " .. i .. ": " .. name) + end + return "abc" + -- local reactor = peripheral.find("fissionReactorLogicAdapter") + -- return reactor.getTemerature() end return { report = report } \ No newline at end of file