EasyManua.ls Logo

SunFounder PiSloth - Page 31

SunFounder PiSloth
113 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder pisloth
TIPS
You may want to simplify your program with Variable. For example, when you have multiple functions that need to
read the obstacle distance, you don’t need to read the value for each function, just load the value into a variable and
use it multiple times.
Click the Create variable button on the Variables category to create a variable named distance.
You can use this block to set up an endless loop.
This is a block that jumps out of the loop, and it has two options and can be only used within a loop.
break out: Jump out of the entire loop.
continue with next interation: Jump out of the current loop and enter the next loop.
3.7. Let’s Fight! Warrior! 27

Related product manuals