This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ASPVisBoss's profile picture

Monitors

Started by ASPVisBoss, 04 February 2013 - 04:34 PM
ASPVisBoss #1
Posted 04 February 2013 - 05:34 PM
Title: Monitors

i can't find out how to print to the monitor off the advanced computer… could anyone help?
Kingdaro #2
Posted 04 February 2013 - 05:57 PM
Wrap that monitor up.


mon = peripheral.wrap('right') -- if the monitor is on the right side of the computer

Then use it like you would with term.


mon.clear()
mon.setCursorPos(3,2)
mon.setTextColor(colors.yellow)
mon.write('Hello World!')

http://www.computercraft.info/wiki/Monitor
http://www.computercraft.info/wiki/Advanced_Monitor