Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

NXT-G

The LEGO MINDSTORMS application is a graphical programming environment for writing programs for an NXT robot. It is called a programming environment because it contains all the tools you need to create a program for a robot. This type of application is often called an integrated development environment (or IDE for short). The MINDSTORMS IDE is considered a graphical programming environment because it allows you to create a program by drawing a picture instead of just typing text.

NXT-G is the programming language used by the MINDSTORMS environment. In NXT-G, the individual parts of a program are called blocks. There are blocks for controlling the motors, using the sensors, and many other things. You create a program by using the screen to drag blocks around and connect them together. The way your program behaves depends on which blocks you use and how you arrange them.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint