Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Timer--
- --Zeit in Sekunden
- t = 2
- --Seite Inputs
- i = "left"
- --Seite Output
- o = "right"
- if rs.getInput(i) then
- print("Timer tickt alle " .. t .. " Sekunden")
- print("Redstone Input ist " .. i .. " ")
- print("Redstone Output: " .. o .. " ")
- end
- while true do
- if rs.getInput(i) then
- redstone.setOutput(o, true)
- sleep(t)
- redstone.setOutput(o, false)
- sleep(t)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment