Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("Programmer:")
- print("1. Drep drage")
- print("2. Skru på laser ading")
- print("3. Skru av laser lading")
- term.setCursorPos(1,6)
- write("Kjør program:")
- pw = read()
- if pw == "1" then
- term.clear()
- term.setCursorPos(1,1)
- print("1")
- sleep(2)
- end
- if pw == "2" then
- term.clear()
- term.setCursorPos(1,1)
- print("2")
- sleep(2)
- end
Add Comment
Please, Sign In to add comment