Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mc = require("motorCont")
- --motor initialization
- local master = mc:new("7",100,100)
- local slave = mc:new("8",100,100)
- master:setSlave(slave)
- local slaves = master:getSlaves()
- for i in #slaves do
- print(i)
- end
Advertisement
Add Comment
Please, Sign In to add comment