Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------------
- --DISPLAY LAMP SOFTWARE STARTUP2 PASTEBIN: NkzsSg1M
- -----------------------------------------------
- --execute command
- function ExecuteCom()
- print("Execute command..")
- print(message)
- end
- -----------------------------------------------
- --recieve command
- function RecieveCommand()
- rednet.open("left")
- message = rednet.recieve()
- print(message)
- end
- -----------------------------------------------
- --start program
- while true do
- print("Starting program STARTUP2")
- RecieveCommand()
- ExecuteCom()
- print("Stoping program STARTUP2")
- end
- -----------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement