{"id":18,"date":"2013-04-12T13:19:37","date_gmt":"2013-04-12T03:19:37","guid":{"rendered":"http:\/\/legoeng.local\/?p=18"},"modified":"2017-12-21T17:48:03","modified_gmt":"2017-12-21T06:48:03","slug":"nxt-g-quick-guide","status":"publish","type":"post","link":"http:\/\/legoeng.local\/nxt-g-quick-guide\/","title":{"rendered":"NXT-G quick programming guide"},"content":{"rendered":"

The following are examples of programming challenges for LEGO MINDSTORMS NXT Software (NXT-G).<\/p>\n

Move Forward, Wait, Move Reverse<\/h2>\n

\"move\"<\/a><\/p>\n

You will need an NXT car with two motors. Attach one motor to Port A and the other motor to Port C.<\/p>\n

    \n
  1. Write a program exactly like the one above. Make sure to change both Move blocks to Ports A and C. Set the Duration of each Move block to 2 seconds. The second Move block should have the Direction set to Reverse.<\/li>\n
  2. Run the program, and observe the behavior of the NXT car.<\/li>\n
  3. Change the amount of time that your car moves forward and backward.<\/li>\n
  4. Run the changed program and again, note the behavior of the NXT car. Did the differences in the NXT car’s behavior the second time reflect your changes?<\/li>\n<\/ol>\n

    Extra challenge<\/h3>\n

    Draw an NXT brick and label the following parts:<\/p>\n