So far, I have successfully programmed the lock for the door and sending the message. However I am having problems with the control room computer receiving the message and the message being displayed. The receiving computer's sole purpose will be receiving the message, checking to see if the message came from the front door computer, and if yes, displaying it. The modem is on the top of the computer, the monitor is on the right, and the front door computer's ID is 79. The receiving computer's startup file looks like this:
term.clear()
term.setCursorPos(1,1)
rednet.open("top")
monitor = peripheral.wrap("right")
monitor.write("Front door access log:")
print("Front Door Access Log")
id, msg, dis = rednet.receive()
if id == 79 then
print(msg)
monitor.write(msg)
end
When I start up the computer, it prints on the screen and the monitor "Front door access log", like I want it to. However, the computer's display does not have a cursor. It will do nothing whatsoever unless I hold Ctrl+T. When the front door computer sends a message, the receiving computer's display skips a line and then the > appears with a cursor. The monitor does nothing.What am I missing or doing wrong?
Thanks much,
Dorktoid












