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

conclusion

The NXT sensors allow you to build a robot that interacts with the world around it. The different sensors (Light, Color, Touch, Sound, Ultrasonic, and Rotation) let your robot perceive its environment in a several different ways, allowing you to create robots that exhibit a wide variety of interesting behaviors. The programs presented in this chapter show how to use of each of the sensors in combination with Wait, Loop, and Switch blocks to create some interesting NXT-G programs, from a simple door chime to the more complex BumperBot program.

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