What is the difference between the first coding and the second one? same?


#1


The robot does not turn smoothly. I need advice.


#2

@funrobot
Looking at the Arduino code the 1st block of code seems like it would be smoother, as the directional movements are written by MakeBlock, and designed specifically for the mBot, although both blocks of code seem very similar. I would try changing the last if…then…else statement to just an if…then statement, unless you are going to put something after the else.


#3