Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --local component = require("component")
- --ttttttttape = component.tape_drive
- tape = peripheral.find("tape_drive")
- local counter = 0
- repeat
- if tape.read() ~= 170
- then
- print(tape.read())
- sleep(0.01)
- counter = 0
- else
- counter = counter + 1
- end
- if counter == 100 then
- tape.seek(-tape.getPosition())
- tape.play()
- counter = 0
- end
- until i == 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement