Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Flip Flop o Toggle Latch con Computer
- segnaleAttivo = false
- latoRedstone = "back"
- durataSegnale = 0.2
- -- loop infinito
- while true do
- os.pullEvent("redstone")
- if segnaleAttivo then
- segnaleAttivo = false
- redstone.setOutput(latoRedstone, false)
- else
- segnaleAttivo = true
- redstone.setOutput(latoRedstone, true)
- end
- sleep (1)
- end
Advertisement
Add Comment
Please, Sign In to add comment