The Advanced Monitor is a new, improved version of the Monitor.
In contrast with the standard Monitor, the Advanced Monitor has the ability to show colored text and programs on the screen, and the Advanced Monitor is golden (like the Advanced Computer), rather than the default stone grey color of the standard Monitor.
Using an Advanced Monitor
See Peripheral (API) for more details on the methods exposed by the Advanced Monitor, and how to wrap and call methods in peripherals.
The Advanced Monitor introduces two new methods: monitor.setTextColor(color) and monitor.setBackgroundColor(color). These functions allow you to draw text with a specific foreground and background color. Please note that both spellings of the word color are accepted.
To use an Advanced Monitor, you need to either call a method, or wrap the monitor using the Peripheral API. For this example, we have an Advanced Monitor connected to the top of our Computer:
-- Immediately invoke a method without wrapping peripheral.call("top", "write", "Hello World!")
-- You can also "wrap" the peripheral side to a variable: local monitor = peripheral.wrap("top") monitor.write("Hello World!")