Results 1 to 1 of 1

Thread: Tutorial Lego NXT

Threaded View

  1. #1
    Join Date
    Aug 2011
    Beans
    1

    Tutorial Lego NXT

    Tutorial to set up lego NXT. (Tested in Ubuntu 12.04 Alpha 2)
    • Step 1 (Install udev rules and configure):


    Code:
    chmod +x setupNxtUSB.v2.sh
    sudo ./setupNxtUSB.v2.sh
    sudo adduser (your user name) legonxt

    • Step 2 (The compiler):


    Visit http://bricxcc.sourceforge.net/nbc/beta/index.html and download the last version of nbc compiler avaliable.

    • Step 3 (Your first program):


    File test.nxc:
    Code:
    task main () {
        while (1) {
            OnFwd(OUT_A, 75);
        }
    }
    Than run:
    Code:
    ./nbc -d -S=usb test.nxc
    The nbc compiler is in the file have you downloaded.
    Attached Files Attached Files

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •