O'Reilly logo

Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level by Isabelle Hurbain, Philippe Philo Hurbain, Michael Gasperi

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

CHAPTER 14Cool Combinations

In this chapter we'll investigate some examples of the cool things you can do with NXT when it's combined with other software and hardware.

Data Logging

Some experiments take a long time to perform, and waiting around for hours to write down the data every few minutes can be mind numbing, to say the least. Fortunately, the NXT can automatically log data into a file. You can store the numbers in the file in a text format that spreadsheet programs can import. Once the data is in a spreadsheet, you can process and plot it to produce graphs for a lab report.

Figure 14-1 is a basic data-logging program written in NXT-G. It should be easy to modify it for your particular application. Notice you must include the Keep Alive ...

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