Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("left") -- string side. change to your side
- mon.write("hello world") -- writes at the top left postion.
- mon.setCursorPos(5, 5) -- sets monitor cursor to 5, 5
- mon.setTextColor(colors.red) -- sets monitor text color to red
- mon.setBackgroundColor(colors.black) -- black is default so this wont do anything, but you know how to do it now.
- mon.write("Missile Launched")
Add Comment
Please, Sign In to add comment