Mbot2 Motor moves reset


#1

Hi guys

I bought the new Mbot2 and I’m trying to programming some Avoid Obst. features.
Seems it works pretty well but I still got a problem.

I tried to reset the Mbot2 Motor and setting them to have different speed (in random RPM) after it turns right or left.
But seems the Mbot2 just recognized the first setting.

Please let me know
how to solve this issue.

Here the code:

Neee


#2

Please. Someone have any idea how to reset the Motor movesforward to a random value after the forever cycle reoccur?


#3

Hi Neee, please try with the program below. It’s much simpler than yours but I tested it to be OK to work. I don’t know if this could meet your need or not:


#4

Yep!
Exactly what I need!

Thank you.:vulcan_salute:


#5

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