Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- configuration --
- local siloSide = "back"
- local wait = 5
- -- configuration --
- local monitor = peripheral.find("monitor")
- monitor.setTextScale(2)
- quit = false
- while not quit do
- if monitor then
- monitor.clear()
- monitor.write(rs.getAnalogInput(siloSide))
- end
- sleep(wait)
- local event, key, isHeld = os.pullEvent("key")
- if event then
- quit = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment