Lesson 2 Move Backward

Share for us

Overview

This lesson is how to command the Lizard to move backward for 3 times then stop.

Programming

Click the iconon the desktop to open the Mixly and you’ll be on the homepage:

Click the Lizard category.

You can see the Backward Speed Module.Click and drag the Backward Speed Module into the coding area:

Enter a value for the times of moving backward, click and drag the Count with Module from the Control contents.

Combine them together as shown below:

Click and drag the end program block from the Control contents.

Combine them together as shown below:

As shown below, the number can be changed by users. The vary of number means that the number will plus 1 every time it is operated from 1 to 3, so now the Lizard operates for 3 times.

By the time, the procedure had all be finished. This procedure is made of 3 blocks, the Backward Speed Module controls the Lizard to move backward, the Count with Module controls the times of moving backward, and the end program block ends the program.

Connect the Lizard with computer by the USB cable as shown below:

Select the board type: Arduino Nano, and the serial port:

Select the Port according to your actual situation. (Here just take COM3 as an example).

Upload the program to Lizard:

Then you can see the Lizard move backward for 3 times, then stop.