O'Reilly logo

The LEGO MINDSTORMS NXT 2.0 Discovery Book by Laurens Valk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12

using variables, constants, and playing games on the NXT

If you’ve made it this far, you’re just a few steps away from mastering all of the programming skills in this book. By now you’ve learned how to use many different programming blocks, as well as how to work with essential tools such as data wires. This chapter completes the programming section of this book by teaching you how to use the NXT memory with variables as well as how to use constants.

In addition to learning about variables and constants, you’ll create a program in this chapter that combines almost all of the programming skills you’ve learned so far. This somewhat advanced program will demonstrate yet another possibility of the NXT system: It will let you play a real game on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required