Getting Started Guide

SCRATCH CODING KIT
Now we are almost done. The last item of program you have to make is:
- If the value of the variable indicating the state of the drone is on, the DC motor is activated. If it is off, the
motor is not operated.
This coding is relatively easy! Please go ahead and code the program by yourself.
Hint: Use the conditional statement “If ~ or”.
The program above modifies the motor movement depending on whether the variable value
of “fanState” is “on” or “off.”
Activate the code you have made and watch what happens!
Coding a Drone
Drone Coding Activity