Skip to Main Content
The Art of LEGO MINDSTORMS NXT-G Programming
book

The Art of LEGO MINDSTORMS NXT-G Programming

by Terry Griffin
August 2010
Intermediate to advanced content levelIntermediate to advanced
288 pages
13h 21m
English
No Starch Press
Content preview from The Art of LEGO MINDSTORMS NXT-G Programming

Chapter 15. files

A file is a collection of information stored on a computer (which in our case is the NXT). In this chapter, you’ll learn how to use the File Access block to create and use files in your programs. You’ll make some changes to the RedOrBlueCount program to save the number of objects in a data file and then restore the values the next time the program starts. You’ll also learn about managing your NXT’s memory, including how to delete files or transfer them between the NXT and your computer.

using files

Your computer uses files to store music, pictures, programs, word processing documents, and numerous other kinds of information. The NXT also uses files to store many different types of information, such as your programs, the images ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

Terry Griffin

Publisher Resources

ISBN: 9781593272180Errata