CCCPaste

tankmonitor

-- Tank Data Monitoring Program --
-- pastebin get v63QnSig

-- config --

mside = "top" -- side of modem
monside = "right" -- side of monitor bank


-- peripherals and variables --

mon = peripheral.wrap(monside)


-- functions --

function cl()
	term.clear()
	term.setCursorPos(1,1)
end


-- rednet --

if open == false then
	cl()
	print("Opening modem...")
	rednet.open()
end


-- main code --