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

common problems

If you follow the programming instructions for changing the RedOrBlueCount program exactly as given in this chapter, you shouldn’t run into any problems. Of course, when writing your own programs, everything won’t always work perfectly the first time through, so you’ll need to do some debugging. To make finding and fixing bugs go a little faster, here’s a list of some of the most common problems that you may encounter when using files:

  • Using the wrong filename. It’s easy to make a mistake when entering a filename. To minimize this problem, copy an existing File Access block instead of adding a new one, or select the filename from the File list in the Configuration Panel.

  • Running out of memory. File Access blocks that write data will ...

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