Читать книгу Beginning Programming All-in-One For Dummies - Wallace Wang - Страница 54

Programming robots with LEGO Mindstorms

Оглавление

Kids love building things with LEGO building blocks, so to encourage kids to build actual working robots, LEGO released a LEGO robot-building kit called Mindstorms. Not only can you build a working robot with LEGO building blocks, but you can also program the robot using the Mindstorms programming language.

To write a program, you don’t have to type a thing. Instead, you arrange icons that represent different types of actions your robot can do, such as move forward or respond to a light, as shown in Figure 3-2. After writing the program on your computer, you load that program into your LEGO robot and watch it go.


FIGURE 3-2: LEGO Mindstorms programming connects visual building blocks together to control a working robot.

By using LEGO Mindstorms, anyone can figure out both programming skills and robot-making skills. Unlike other programming languages, LEGO Mindstorms lets you see your working program in action as a walking, rolling, or crawling LEGO robot.

Beginning Programming All-in-One For Dummies

Подняться наверх