Lesson 1 Move Forward

Share for us
Share on facebook
Share on twitter
Share on pinterest
Share on whatsapp

Overview

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

Programming

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

Click and open the Lizard category. Click and drag the Forward Speed block into the coding area.

Click and drag the Count with block 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.

This procedure is made of 3 blocks, the Forward Speed block controls the Lizard move forward. The Count with Module controls the times of moving forward. The end program block commands the program to be end.

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

Select the board type: Arduino Nano, and select the serial port for upload:

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

Upload the program to the Lizard:

Then you will see the Lizard move forward for 3 times, then stop.