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")
|
reactor = peripheral.find("fissionReactorLogicAdapter")
|
||||||
turbine = peripheral.find("turbineValve")
|
turbine = peripheral.find("turbineValve")
|
||||||
turbineVent = peripheral.find("turbineVent")
|
turbineVent = peripheral.find("turbineVent")
|
||||||
monitor = peripheral.find("monitor")
|
monitor = peripheral.find("monitor")
|
||||||
|
|
||||||
tempDriver = kernel.addDriver("temperature_driver")
|
tempDriver = kernel.addDriver("temperature_driver")
|
||||||
coolantDriver = kernel.addDriver("coolant_driver")
|
coolantDriver = kernel.addDriver("coolant_driver")
|
||||||
statusDriver = kernel.addDriver("status_driver")
|
statusDriver = kernel.addDriver("status_driver")
|
||||||
@@ -14,7 +12,7 @@ burnRateDriver = kernel.addDriver("burnrate_driver")
|
|||||||
|
|
||||||
local function runMonitors()
|
local function runMonitors()
|
||||||
while true do
|
while true do
|
||||||
--tempDriver.watch()
|
tempDriver.watch()
|
||||||
coolantDriver.watch()
|
coolantDriver.watch()
|
||||||
statusDriver.watch()
|
statusDriver.watch()
|
||||||
turbineDriver.watch()
|
turbineDriver.watch()
|
||||||
|
|||||||
Reference in New Issue
Block a user