Switch blocks in EV3 programming specify what you want the programming to do for two or more different conditions: “if EV3 detects this do this or if EV3 detects that do something else”. In other kinds of programming, you will often see this called “If…then…else” with maybe even “else…if.” In this article we will show you the many different options the EV3 software gives you.
Since the switch block has so many different options we decided to split talking about switch blocks into 2 articles. This one will be about every option besides the sensor options. We are currently working on an article about the different sensor options.
Because motor blocks play such a large role in EV3 programming, we thought of some additional points to inform you about motor blocks. If you have not read our first article about motor blocks, you can find it here.
We have had a lot of fun using our EV3 bricks for a lot of things, such as programming them to play our favorite songs and accomplishing fun tasks we make on our own, but by far the most fun part of EV3 comes when you add motors into the mix! Motors allow you to build a robot that can drive around or build a machine with moving arms or rotating turn tables. Motors are obviously especially important in EV3 for competing in FIRST LEGO League (FLL). How else can you move around the field and accomplish all those cool missions?
In this article, we will teach you about the parameters on a motor block, different types of motor blocks, and the basic types of turns.