brett stevens

Show:

What's happening?

  • Comment: RemoteSetOutputState and OUT_BC

    File Added: fwd_bck_turn_bt_2.nxc.

    2008-06-22 20:53:17 UTC in Bricx Command Center

  • RemoteSetOutputState and OUT_BC

    RemoteSetOUtputState does not work when I specify ports OUT_BC. I have searched the documentation and the book "NXT Power Programming" to see if it is explicitly mentioned that only single outputs are allowed, but I have not found such a restriction. I am hestitant to report this as a bug because the last few bugs I reported were not bugs and I do not want to clog up the bug tracker.

    2008-06-22 20:52:33 UTC in Bricx Command Center

  • simultaneous button pushes?

    I am writing a program that has four modes depending on the four states of the two left and right buttons: both unpressed, both pressed, left onlypressed and right only pressed. I utilize the attached code. The NXT can only detect both buttons pressed at the same time a very small fraction of the time. Most of the time, both button pressed is reported as just the left button pressed...

    2008-05-28 23:55:09 UTC in Bricx Command Center

  • arrays of strings and specifying chars

    I would like to create an array of string, for example names[] = {"amy","ben","chris","dave","eve"}; I have tried - "string names[] = {"amy", ... "eve"}; - string names[]; ArrayInit(names,"long_name",5); name[0] = "amy" - string names[]; ArrayInit(names,"long_name",5); StrReplace(names[0],0,"amy"); - string names[]; char stemp[]; char ch; string abacab=...

    2007-04-27 05:15:32 UTC in Bricx Command Center

  • Comment: Bluetooth programs won't compile (Linux)

    Thanks John, I knew it must be something simple brett.

    2007-04-26 04:26:14 UTC in Bricx Command Center

  • Bluetooth programs won't compile (Linux)

    When I try to compile the following master program from Danny Benedettelli's tutorial I get the compiler errors that I include at the end: //MASTER #include "NXCDefs.h" #define BT_CONN 1 #define INBOX 1 #define OUTBOX 5 sub BTCheck(int conn){ if (!BluetoothStatus(conn)==NO_ERR){ TextOut(5,LCD_LINE2,"Error"); Wait(1000); Stop(true); } } task main(){...

    2007-04-25 06:37:06 UTC in Bricx Command Center

  • missing linux executable for 1.01.b26 and compilation error

    The link http://bricxcc.sourceforge.net/nbc/beta/nbc-1.0.1.b26.tgz returns a Error type 404, file does not exist. I tried compiling a i386 linux executable myself but ppc386 reports an error because Parser10 and P10Build both have each other as "uses" so neither will compile. Also the nbclinux.mak file has both these files to be compiled after uNXTClasses which needs them so it seems...

    2007-02-16 18:50:37 UTC in Bricx Command Center

  • Acquire() seems not to be working in NXC (Linux)

    OS: Linux kernel 2.6.11-6mdksmp i686 Intel(R) Pentium(R) 4 CPU 3.20GHz In the following program, when the light sensor is triggered the motors do NOT stop for 10 seconds which seems to suggest that either Acquire(moveMutex) is not working or I do not understand its function correctly. #include "NXCDefs.h" #define THRESHOLD 50 #define MY_FWD_PWR 75 #define MY_REV_PWR 75 #define...

    2007-02-12 16:11:36 UTC in Bricx Command Center

  • Acquire() seems not to be working in NXC (Linux)

    OS: Linux kernel 2.6.11-6mdksmp i686 Intel(R) Pentium(R) 4 CPU 3.20GHz In the following program, when the light sensor is triggered the motors do NOT stop for 10 seconds which seems to suggest that either Acquire(moveMutex) is not working or I do not understand its function correctly. #include "NXCDefs.h" #define THRESHOLD 50 #define MY_FWD_PWR 75 #define MY_REV_PWR 75 #define...

    2007-02-12 05:57:35 UTC in Bricx Command Center

About Me

  • 2007-02-12 (3 years ago)
  • 1717005
  • brettpim (My Site)
  • brett stevens

Send me a message