Let's code the robot to perform various tasks
Let's start coding this helicopter. Using the extra LEGO bricks from your BOOST kit, build the following:
- A food element with orange LEGO bricks
- A water element with blue LEGO bricks
- A rescue equipment element with yellow LEGO bricks
Make sure that you don't use more than three bricks to build any element. This ensures that the element can be placed on the helicopter with ease and without adding too much load to it.
Activity #1
Program your helicopter to move forward for two rotations. While moving, it should also rotate its wings at 60% power for 3 seconds. You can also add the sound of a helicopter to make it more interesting. The sample code for the activity is given here:
As we mentioned previously, a helicopter is used for rescue purposes, military operations, intracity travel, and more. In this activity, we will take our helicopter on a rescue mission...