Users Manual
SCRATCH CODING KIT
Coding Dancing Robots
Before, we decided to make three dancer robots scripts. But before that, try coding as you know it. Before we
learn the concept of 'modularity' we can code a dancing robot that does the same thing in one script.
First, when the script is executed, set the angle of servo motor to 90. After that, when the infrared sensor is
recognized, the four LED sensors turn on for 0.1 second each in turn, then the servo motor moves 180 degrees
for 0.1 second, the 4th DC motor for 0.1 second and then the servo motor back to 90 degrees please. Code this
by yourself.
Activity