Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m=peripheral.wrap("front")
- while true do
- m.clear()
- m.setTextScale(5)
- m.setCursorPos(1,1)
- if os.time()<=18.5 then
- m.write("Day")
- rs.setOutput("top",false)
- else
- m.write("Night")
- rs.setOutput("top",true)
- end
- sleep(1)
- end
Add Comment
Please, Sign In to add comment