Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- channel = 16
- --if reci == nil then
- -- print("Enter recieving computer ID")
- -- reci = read()
- --end
- if peripheral.getType("left")=="modem" then
- modem = peripheral.wrap("left")
- if modem.isWireless() then
- modem.open(channel)
- while modem.isOpen(channel) do
- print(" ")
- c = 1
- n = -1
- colorTable = {}
- while c <= 32768 do
- if rs.testBundledInput("back", c)==true then
- t = c
- print(c)
- else
- t = 0
- end
- table.insert(colorTable, t)
- modem.transmit(channel, channel, colorTable)
- c = c*2
- n = n-1
- end
- os.pullEvent("redstone")
- end
- end
- end
Add Comment
Please, Sign In to add comment