 | | Re: Powered Sensors
|
|
Ok, I have gotten myself confused again. 0-0.32mA represents a voltage dropbetween 0 - 3.2 volts. Therefore the voltage that the RCX "reads" on theA2D is between 5 - 1.8 volts (1023 - 368 RAW)? To get a reading of 0 (RAW)it seems as though you would (...) (23 years ago, 8-May-02, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Converting a float to an integer
|
|
(...) float f = 1.4; int i = (int)((i >= 0) ? i + 0.5 : i - 0.5); OR if (f >= 0) i = (int)(i + 0.5); else i = (int)(i - 0.5); This is assuming you want to round to the nearest integer. Just curious, where are you getting the ascii strings that you (...) (23 years ago, 8-May-02, to lugnet.robotics.rcx.legos)
|
|
 | | New MOC: RoboArm I
|
|
Hello all, I've posted pictures of my newest robotic creation, RoboArm I. (URL) actually happend by accident, I was tryin to find the simplest method to drive a turntable using 2 micro motors. I found a solution I was happy with using only a few (...) (23 years ago, 8-May-02, to lugnet.robotics, lugnet.technic, lugnet.build) !
|
|
 | | Re: RCX Command Center
|
|
Welcome Jonathan. RcxCC is no longer supported. Check out this site for the supported version. (URL) you have problems tell us what the file is that is missing. I am sure some one can help. -- Bob Fay THE SHOP (URL) Spitz" <lego-robotics@crynwr.com> (...) (23 years ago, 8-May-02, to lugnet.robotics)
|
|
 | | 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 (...) (23 years ago, 8-May-02, to lugnet.robotics.rcx.nqc)
|