View difference between Paste ID: H5mGeYf0 and M17R92uQ
SHOW: | | - or go back to the newest paste.
1
p = peripheral
2
while true do
3
if os.time() >= 18.5 or os.time() <= 5 then
4
 redstone.setOutput("back",true)
5
 else
6
  redstone.setOutput("back",false)
7
  end
8
 sleep(2)
9
end
10