The art of LEGO Mindstorms NXT-G programming - Griffin, Terry (No Starch Press, 2010)
Description based on print version record
Includes bibliographical references and index
LEGO and robots : a great combination -- The NXT-G programming environment -- The test robot -- Motion -- Sensors -- Program flow -- The WallFollower program : navigating a maze -- Data wires -- Data wires and the switch block -- Data wires and the loop block -- Variables -- The NXT buttons and the display block -- My blocks -- Math and logic -- Files -- Data logging -- Using multiple sequence beams -- The LineFollower program
"The LEGO MINDSTORMS software and its NXT-G programming language are powerful tools that make it easy to write custom programs for your robots. NXT-G is a great first programming language, but that doesn't mean it's easy to understand--at least not right away. In The Art of LEGO MINDSTORMS NXT-G Programming, author and experienced software engineer Terry Griffin explains how to program MINDSTORMS robots with NXT-G. You'll learn how to work with the core parts of the NXT-G language, such as blocks, data wires, files, and variables, and see how these pieces can work together. You'll also learn good programming practices, bad habits to avoid, and useful debugging strategies"--Cover, p. 4