 | | Re: Program() always returns 0
|
|
I believe any data source (not just timers/sensors/variables) can be used in SetUserDisplay. The big limitation is that local variables cannot be used since the display is updated in a global context independent of the tasks. If you know of data (...) (25 years ago, 8-May-02, to lugnet.robotics.rcx.nqc)
|
| |
 | | Re: Program() always returns 0
|
|
Oops. Looks like a bug in the NQC API file. I just fixed the bug in the NQC source, but it's not major enough to warrant a new release yet. In the meantime, you can add the following lines to the top of of your source file as a work-around: #undef (...) (25 years ago, 8-May-02, to lugnet.robotics.rcx.nqc)
|
| |
 | | RCX Command Center
|
|
This is my first message to the list, I hope I will contribute a lot to it. But first I'm trying to improve my robots with a more powerful programming. I tried RcxCC but it gives me an error because of a class or dll that isn't registered and I (...) (25 years ago, 7-May-02, to lugnet.robotics)
|
| |
 | | Converting a float to an integer
|
|
Hopefully this isnt a silly question. Does anyone know how to covert a float to an integer? It doesn't appear that the function atoi exists. Michael. (25 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Powered Sensors
|
|
----- Original Message ----- From: "John Barnes" <barnes@sensors.com> Newsgroups: lugnet.robotics.rcx.legos Sent: Tuesday, May 07, 2002 2:23 PM Subject: Re: Powered Sensors (...) the (...) across (...) Ok... lets see if I understand this.... For (...) (25 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
|