Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.wrap("top")
- term.scroll(1)
- while true do
- local val = redstone.getBundledInput("left")
- os.sleep(0.1)
- monitor.clear()
- monitor.setCursorPos(1,1)
- monitor.setTextScale(5)
- monitor.write("val: ")
- monitor.write(val)
- term.clear()
- term.setCursorPos(1,1)
- term.write(val)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement