Sample Programs

Move and turn (Download)

This program will have your robot move forward until it sees an object then plays a tone and turns left and drives forward again.
NXT Robot Setup:

  • Motor plugged into Port A
  • Motor plugged into Port B
  • Ultrasonic sensor plugged into Port 1

  • Blinking Text (Download)

    This is an example of displaying text and clearing text for the screen.
    NXT Robot Setup:

  • Nothing

  • Press for Tune (Download)

    Allows your NXT to play a tune when you press the touch sensor
    NXT Robot Setup:

  • Touch Sensor connected to Port 1