![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHF-lrsRlRuEdQAmD9ZoG7ZW-4iQ-Re6_4B1LWsufNbzz0iw0dRosK67X14qCqtwhdguJyAMkhjpqB6W0KmoWJ_0MORooXQ3z3b6wecwdmLTTqbQAbFHpnNnFZrcvbc65IkIL6nNseutQe/s320/Lego+mindstorms+2.0.gif)
Once you have built your MindStorm then it's time to program! On the left of the page there are two cogs, this is the move tool. When you drag it into the program page you will find the interface is located at the bottom of the screen. In the top right of the interface there is the power bar, when it is at 100 it will go quite fast however, it is not too fast as it is only lego. Just underneath the power bar is the duration. There is rotations, seconds, degrees (only use that if you need to be really precise) and unlimited. On the top left there is the motor ports and underneath is the direction and turning. Then under the move tool is the sound tool. There are lots of sounds and this tool is really quite simple. Also on the sound tool is the record tool. This is where you can record sounds and put them on the MindStorm. Under the sound tool is the loop tool. What it does is in the name and all you have to do is put the things you want to loop in it and put in how many times it should loop! Then underneath that is the switch tool. This is the most complicated tool, you have to select the sensor and then put in what it would do when what happens to the sensor. You decide what will happen when something happens to the sensor by if it is true it will do whatever is in the top section and if it is false it will do whatever is in the bottom section (you can leave this blank if you just want it to the previous program.) I hope you found this helpful !
The video below is a Lego MindStorm programming tutorial.