Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Test Modem
- -- 240416 Rewrite
- -- Function to Connect to Monitor
- local mon
- local function findMonitor()
- mon=peripheral.wrap("right")
- -- mon.write("Test 1")
- if peripheral.wrap("right") then
- mon.setTextScale(3)
- mon.write("Initialized")
- return true
- else
- print("Did not find")
- return false
- end
- end -- Function find monitor
- -------------------------
- -- Main Routine
- -------------------------
- MonExists=findMonitor()
- print("Name: ", os.getComputerLabel() )
- print("Test printing")
- end
Advertisement
Add Comment
Please, Sign In to add comment