5 posts
Posted 20 March 2012 - 12:02 AM
Hello everyone, please tell me how can i program the monitor ?
Thanks !
And, if possible, how to program turtles =)
Thanks again ! XOXO
12 posts
Location
Germany
Posted 20 March 2012 - 03:20 PM
Hey matamatama,
I can't say you how to program a monitor, but if you download this
http://www.computerc...redworks-addon/ you can just type:
monitor
and it will say you what to do :D/>/>
e.g.:
create a program with this code(i called it count):
x = 0
while true do
print(x)
x = x + 1
sleep(1)
end
then type in the computer:
monitor right count
(right could be top, left, back, etc as well)
and the monitor starts to count :)/>/>
hope this helps
//edit:
http://computercraft...title=Tutorials at the bottom of the page you find turtle tutorials :)/>/>
411 posts
Posted 20 March 2012 - 03:41 PM
You don't need redworks to use monitor, thats part of default cc.
monitor <side> <program>
12 posts
Location
Germany
Posted 20 March 2012 - 03:47 PM
My fault, sry. I tried it too, but the only solution I found was redworks.
146 posts
Location
the Netherlands
Posted 25 March 2012 - 11:35 PM
If i remembered correctly it should be like this:
monitor = peripheral.wrap(side)
term.redirect(monitor)
And you can use print(text) to print on the monitor
To restore to your terminal screen use:
term.restore()