Store in Arrays. WRO Elementary 2013.
After we have introduced a menu in the previous video, this video focuses on storing the values in an array. It presents a basic use of arrays.
- #221
- 24 Jul 2016
After we have introduced a menu in the previous video, this video focuses on storing the values in an array. It presents a basic use of arrays.
In this episode we do a full run of the mission for collecting a single treasure before going into explanation on how we have programmed the robot.
There are a number of tools available online to help you play the game. You just seed the initial conditions and leave the game. Let's look at some of the sites.
Display a matrix with "life" and "dead" cells on the EV3 LEGO Mindstorms brick screen. The program is available. You can see it, change it, modify it and learn from it.
Display a matrix on the brick screen. Simple and easy. Download and run the program to see how
The field in the game of life could be finite or infinite. It is interesting to see and learn how an infinite field behaves and works.
The task is to find what the best seed is that will live the longest without entering into a loop or without dying. Find it and submit in the tasks section.
You have the controller, you have the diode. The controller has a number of pins (holes). Where should you put the diode so that it starts blinking?
The small holes on the controller are called pins. On our controller we have 32 pins. The more pins that you have, the more elements you can controller with this microcontroller. For this video the interesting pins and 13 and GND
Let's move with the VEX EDR robot using its motors, the wheels and some RobotC programming. We devide the program in three parts - Connect the motors, program the controller and turning.
Conenct the motors of the VEX EDR motor to the VEX Corted Controller. For connecting we need the motor drivers.
We are ready to build the first program for moving the robot forward and backward. We learn how to build simple programs for moving the program. But it is not that easy...downloading to the robot does not always result in the robot moving.