Getting Started Guide

CLASS 4
36
Drone Coding Activity
Coding a Drone
Since we made the needed variables, we now need to learn about the item that has to be programed.
- Whenever an infrared sensor is recognized, a program must be programmed to change the value of the variable
representing the state of the drone to on and off.
This might look simple but needs a complicated coding. Don’t be disappointed even if you can not figure it out.
But, please try to brainstorm using the space below on how you could make this program.
Hint: you need the “waiting’ and “if~ or” block to make the program.
make a program