Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- peripheral.find("modem", rednet.open)
- print(os.getComputerID())
- local top = peripheral.wrap("top")
- local bottom = peripheral.wrap("bottom")
- local left = peripheral.wrap("left")
- local right = peripheral.wrap("right")
- while true do
- local id1, LTri = rednet.receive()
- local id2, RTri = rednet.receive()
- local pitch = LTri - RTri
- -- Flip top and left
- top.setAngle(-pitch)
- bottom.setAngle(pitch)
- left.setAngle(-pitch)
- right.setAngle(pitch)
- end
Advertisement
Add Comment
Please, Sign In to add comment