|
 | | Re: leJOS auto power-off
|
| (...) your programs, lest you forget to turn off the RCX while a program is running and waste a set of batteries ... Like while(System.current...meMillis() < 600000) { // 10 minutes timeout ... } as a main loop instead of while(true){...} Jürgen (22 years ago, 9-Oct-03, to lugnet.robotics.rcx.java)
| |  | | Re: Mechanical pneumatic piston
|
| (...) Ah, that's it exactly! Thanks a lot. (...) Very interesting. Fairly small, and I imagine it moves pretty quick. Actually, in the application I want it for, it will be cranked by hand, so a motor isn't needed at all. (...) Hmm...I wonder why (...) (22 years ago, 9-Oct-03, to lugnet.robotics)
| |  | | Re: Linked Lists in BrickOS
|
| (...) Yeah, this was the problem. It hadn't occurred to me that BricxCC wasn't saving the file before making. Whoops. (...) Yes, tremendously (...) It looks like this was the problem line. I didn't know the syntax for a pointer to nothing. (in (...) (22 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
| |  | | Re: Linked Lists in BrickOS
|
| (...) BricxCC can't know for sure what compiler to use unless it can tell what type of file you are editing. It figures this out using the file extension. In order to compile C++ and C code, BricxCC needs the file to have a .cpp or .c extension. (...) (22 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
| |  | | Re: INT_MAX in BrickOS
|
| (...) Yes, very much, thank you. That explains why I was getting odd results when I set an int to 65535. Now, I know what to do. Thanks Steve (22 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
| |