I would like to shoot balls with the ev3 Lego robot. How can I code it using Python?

Which components do I need for that and which function and motor use ?

1 Answer 1


ev3dev works pretty well for that purpose, and all you need is a microSD card.

You'll need to use the Motor class. It work with both large and medium motors, and either can be use to shoot balls, so this part will be at your preference.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.