NokiMo
Pybricks
Pybricks

patreon


How to override motor checks for multipurpose programs

If you forget to plug in a motor that you use in your program, you normally see a message in the output window to remind you. Most of the time, you’ll want to keep it that way to help you catch mistakes early on.

But sometimes you just want to make a general purpose program that runs whether or not something is plugged in.

For example, you might want to make a single program to test basic motion in all your creations. Or the ultimate universal program for all your train combinations.

And it's really easy. All you have to do is import an extra module in your program. You can read the detailed instructions along with programs you can download here.

This is also a nice example of mixing Python with block coding for even more possibilities. Block based coding provides an easy way to get started with Pybricks, but there's no limit to what you can do!

How to override motor checks for multipurpose programs

Related Creators