Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitors = {peripheral.find("monitor")}
- local mon = monitors[1]
- counter = 0
- mon.write("hello! counting to 10")
- while counter < 10 do loop
- mon.write(toString(counter))
- counter = counter + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment