Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Door Controller
- --Consts--
- peripheral.find("modem", rednet.open)
- while true do
- local id, message = rednet.receive()
- if message == "closeDoor1" then
- redstone.setAnalogOutput("left", 15)
- elseif message == "closeDoor0" then
- redstone.setAnalogOutput("left", 0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment