Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function termClear()
- term.clear()
- term.setCursorPos(1,1)
- end
- while true do
- --Pick up everything below turtle
- for l=1,15 do
- turtle.suckDown()
- turtle.select(1)
- end
- --Compare to completed PCB
- for i=1,15 do
- turtle.select(i)
- if (turtle.compareTo(16) ~= true) then
- turtle.dropDown()
- end
- end
- for t=15,1,-1 do
- termClear()
- print("Waiting " .. t .. " seconds...")
- sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement