carrots084

Daylight Sensor

Jan 26th, 2018
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. rednet.open("top")
  2. while true do
  3. repeat
  4. os.pullEvent("redstone")
  5. until rs.getInput("right") and rs.getAnalogInput("right") >= 4
  6. rednet.send(60,"SET_TO_DAY")
  7. sleep(1)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment