Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local term = require("term")
- local event = require("event")
- local c = require("component")
- local mfsu1 = c.proxy(c.get("addr"))
- local mfsu2 = c.proxy(c.get("addr"))
- local mfsu3 = c.proxy(c.get("addr"))
- --component.proxy(component.get("4charactersofaddress"))
- while true do
- val1 = mfsu1.getStored()
- val2 = mfsu2.getStored()
- val3 = mfsu3.getStored()
- cap1 = mfsu1.getCapacity()
- cap2 = mfsu2.getCapacity()
- cap3 = mfsu3.getCapacity()
- term.clear()
- term.setCursor(1,1)
- print("MFSU1: " .. val1 .. "/" .. cap1)
- print("MFSU2: " .. val2 .. "/" .. cap2)
- print("MFSU3: " .. val3 .. "/" .. cap3)
- os.sleep(0)
- end
Advertisement
Add Comment
Please, Sign In to add comment