Posted 04 November 2012 - 11:37 AM
Hello I'm going to show you a simple way to write on monitors using normal computers i will show you what the code does so you learn and I will provide a link to my AdminMon program that works on advanced Computers.
1) writing on the monitor first what you do is let the computer know it's next to a monitor
monitor = peripheral.wrap("right")
you can change the "right" to whatever direction you want it just connects the monitor
2) The monitor is wrapped but you need to tell it what it need to do so you type this
term.clear()
monitor.clear()
start()
term.setCursorPos(1, 2)
print("What do you want to type in the Monitor:")
input = read()
monitor.setCursorPos(1, 1)
monitor.write(input)
term.clear()
let me explain the important parts
monitor.write(input)
it’s saying whatever input reads it puts it on the monitor
This is how you input something into a monitor
1) writing on the monitor first what you do is let the computer know it's next to a monitor
monitor = peripheral.wrap("right")
you can change the "right" to whatever direction you want it just connects the monitor
2) The monitor is wrapped but you need to tell it what it need to do so you type this
term.clear()
monitor.clear()
start()
term.setCursorPos(1, 2)
print("What do you want to type in the Monitor:")
input = read()
monitor.setCursorPos(1, 1)
monitor.write(input)
term.clear()
let me explain the important parts
monitor.write(input)
it’s saying whatever input reads it puts it on the monitor
This is how you input something into a monitor