CyberPi surprisingly slow


I have students doing sumo battles with mBot2 robots. We find that they will run off the ring unless we slow them down and move the Quad RGB sensor further out in front of the bot.

We are uploading the code.

If we add too many other tasks we sometimes have to slow them down even more. Is there a way to figure out what code is slowest?

Write functions in C++?

Or some other smart trick that you all have figured out?


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.