Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- receiverID = 0
- rednet.open("top")
- while true do
- local ID, input = rednet.receive()
- if ID == receiverID then
- local output = (2^(input))-1
- rs.setBundledOutput("bottom", output)
- end
- sleep(.1)
- end
- rednet.close("top")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement