Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- side = "back" --This is the side of the monitor
- text = "Research Centure"
- mon = peripheral.wrap(side)
- mon.setTextScale(1.5)
- while true
- do
- mon.setBackgroundColor(colors.blue)
- mon.setCursorPos(1,1)
- mon.write(text)
- mon.setCursorPos(1,2)
- mon.write(textutils.formatTime(os.time(),false)) -- use true for 12h time
- sleep(1)
- mon.clear()
- term.setCursorPos(1,1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement