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