updated
This commit is contained in:
6
main.lua
6
main.lua
@@ -1,10 +1,8 @@
|
||||
local kernel = require("kernel")
|
||||
|
||||
kernel = require("kernel")
|
||||
reactor = peripheral.find("fissionReactorLogicAdapter")
|
||||
turbine = peripheral.find("turbineValve")
|
||||
turbineVent = peripheral.find("turbineVent")
|
||||
monitor = peripheral.find("monitor")
|
||||
|
||||
tempDriver = kernel.addDriver("temperature_driver")
|
||||
coolantDriver = kernel.addDriver("coolant_driver")
|
||||
statusDriver = kernel.addDriver("status_driver")
|
||||
@@ -14,7 +12,7 @@ burnRateDriver = kernel.addDriver("burnrate_driver")
|
||||
|
||||
local function runMonitors()
|
||||
while true do
|
||||
--tempDriver.watch()
|
||||
tempDriver.watch()
|
||||
coolantDriver.watch()
|
||||
statusDriver.watch()
|
||||
turbineDriver.watch()
|
||||
|
||||
Reference in New Issue
Block a user