Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.wrap("top")
- while true do
- local time = os.time()
- monitor.clear()
- monitor.setCursorPos(1, 1)
- monitor.setBackgroundColor(colors.blue)
- monitor.write(textutils.formatTime(time, bTwentyFourHour))
- sleep(0.75)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement