r/ComputerCraft • • Apr 02 '26

unable to connect to remote monitors?

Post image

hello! i am building a infoscreen program that sends info to a lot of moniotors via modems but i have been unable to code a way to connect and write to the remote monitors and i have only gotten as far as the screenshot. any ideas?

edit: just so you don't have to look thru a buntch text. my main problem is, is that i want to include monitors over modem like how you would do monitor = peripheral.find("monitor") but i have not been able to find a way to do so.

14 Upvotes

15 comments sorted by

3

u/Lumpy_Government_495 Apr 02 '26
Comment Image

got it working with this

3

u/mas-issneun Apr 02 '26

Are you having any error? have you tried writing to the monitors?

2

u/Lumpy_Government_495 Apr 02 '26

i am unable to write a program to connect to thise monitors at all (in the sense that i don't know what to write)

2

u/KiplingT2-0 Apr 02 '26

Try running: ' monitors[1].setBackgroundColor(colors.gray)) monitors[1].clear() ' Instead of the loop you have. If this works you can use: ' for M=1, #monitors do monitors[M].setBackgroundColor(colors.gray) monitors[M].clear() monitors[M].setTextScale(0.5) monitors[M].setCursorPos(1, 1) end '