Advertisement
realrivals

Remote radio

Jun 22nd, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local modem = peripheral.wrap("back")
  2. modem.open(14112)
  3. local r = true
  4. while r do
  5.     volume = read()
  6.     if volume=="e" then
  7.         r = false
  8.     else
  9.         term.clear()
  10.         term.setCursorPos(1, 1)
  11.         print(volume)
  12.         modem.transmit(14112, 14112, volume)
  13.     end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement