|
| | Re: Got Motors?
|
| (...) Who exactly is selling the motor kits? (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
| | | | Got Motors?
|
| If you need motors, check out toys. They are clearing out their stock (I've heard April they're outa-here) and everything is on sale. The 8735 Technic motor kit was 24.?? last time I looked. Shipping is a tad steep, so you may want to get several at (...) (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
| | | | Re: execi and C++
|
| (...) I've spoken too fast. Re-reading the error message I saw the real problem. "controlThread" or "&controlThread" are the same. You should add a cast: execi(&controlThread, 0, (char **)NULL, 2, DEFAULT_STACK_SIZE); NULL is defined mem.h as (...) (24 years ago, 18-Feb-01, to lugnet.robotics.rcx.legos)
| | | | Re: execi and C++
|
| (...) In C you should call execi() like this: execi(controlThread, 0, NULL, 2, DEFAULT_STACK_SIZE); /* Removed `&' */ since a function is like an array name: it is an address. Probably the same applies to C++. bye Bernardo (24 years ago, 18-Feb-01, to lugnet.robotics.rcx.legos)
| | | | execi and C++
|
| Hi all, sorry if this is a rediculously trivial problem, but I'm having some problems with execi on legos0.2.5 , I can't seem to get g++ to compile when I use it, I pass it a 'correct' function.....like so : int controlThread(int argc, char **argv) (...) (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos)
| |