Users Manual

CLASS 3
78
“IF” syntax utilization
Utilizing the Ultrasonic Turtle
An ultrasonic turtle is a model that turns on multiple LED sensors as the distance from the wall increases. It was a
model in which the LED sensor was turned on cumulatively every time the distance was distant. Now, let's create
a script that turns on the LED sensors sequentially, rather than turning them on cumulatively.
analog value 15
wall
wall
wall
analog value 20
analog value 25