Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Nome: Programma Gestione Cannone TNT
- -- Programmatore: Vorakh
- -- Data: 16/8/2013
- -- Lancia TNT
- function propellant(sw1)
- rs.setOutput("left", sw1)
- end
- function cannonball(sw2)
- rs.setOutput("back", sw2)
- end
- term.clear()
- term.setCursorPos(1,1)
- print("Fire Controller v0.1 Alpha")
- sleep(3)
- print("Innesco propellente")
- propellant(true)
- sleep(2.5)
- print("Innesco palla di cannone")
- cannonball(true)
- sleep(0.1)
- propellant(false)
- cannonball(false)
- sleep(2)
- print("Sistema in Standby")
- sleep(3)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement