Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ### DATOR 2
- rednet.open("SIDA")
- message = rednet.receive()
- -- ON
- if message == "won1" then
- rs.setOutput("SIDA", true)
- end
- if message == "ton1" then
- rs.setOutput("SIDA", true)
- end
- if message == "ron1" then
- rs.setOutput("SIDA", true)
- end
- -- OFF
- if message == "woff1" then
- rs.setOutput("SIDA", false)
- end
- if message == "toff1" then
- rs.setOutput("SIDA", false)
- end
- if message == "roff1" then
- rs.setOutput("SIDA", false)
- end
Advertisement
Add Comment
Please, Sign In to add comment