leJOS RCX FAQ

Note: The regular Wiki FAQ was lost when Sourceforge upgraded their systems and many questions were lost.
 
Q: What is leJOS?
A: leJOS is replacement firmware for the Lego Mindstorms RCX brick - a JVM that fits within the 32kb on the RCX. Yes, you can program a Lego robot with Java!
Q: How do you pronounce leJOS?
A: In English, the word is similar to Legos, except there is a J for Java, so the correct pronunciation would be Ley-J-oss.
If you are brave and want to pronounce the name in Spanish, there is a word "lejos" which means far, and it is pronounced Lay-hoss.
Q: How do I learn to use leJOS?
A: There are several options. If you are good with Java you can study the API. You can check out the examples folder that is included with leJOS. You can also read a book on leJOS programming.
Q: How do I tell how much memory my program uses?
A: The same way as Java standard edition:
    long free = Runtime.getRuntime().freeMemory();
Q: I just wrote some code I would like to share. Where do I post it?
A: There are three possibilities:
1. If the code is tightly bound to a robot model then the Robots section would be a great place.
2. If it improves the leJOS API then you might want to join the leJOS team and upload it to CVS.
3. If it is an example that demonstrates an aspect of the leJOS API then it can be uploaded to the examples section of CVS.
Top

Disclaimer: Java is a trademark of Sun Microsystems. Lego Mindstorms is a trademark of the LEGO Group. There is no association between Lego and leJOS or Sun and leJOS, or even between Lego and Sun as far as we know.

Powered by Esmeta 1997-2006