Page 1 of 1
leJOS
Posted: Thu Jan 26, 2006 7:31 am
by colin
I want to use TextPad with leJOS [url]
http://lejos.sourceforge.net/[/url] which is JAVA that runs on Lego Mindstorms.
How do I make TextPad use the leJOS compiler rather than javac?
Can I change Registry?
Posted: Thu Jan 26, 2006 6:16 pm
by colin
I looked around for where TextPad might store Compiler, Run and Applet names and found them in the Registry.
They are at HKEY_CURRENT_USER/Software/Helios/TextPad 4/Tools/1,2 and 3.
Would it be alright to change them to the leJOS compiler? I can't find anyway within TextPad to change them as they are greyed out.
Posted: Thu Jan 26, 2006 6:36 pm
by talleyrand
You can always manually add tools for use by TextPad rather than muck about in the registry (and decrease your risk of borking Windows). Configure, Preferences, Tools, Add -> Program. The help file ought to help explain the options.
Got it
Posted: Thu Jan 26, 2006 8:02 pm
by colin
Thanks for your reply. I have figured out how to add the commands that I need.
Concatenation
Posted: Fri Jan 27, 2006 7:37 am
by colin
LeJOS needs the following command to link:- lejoslink.bat -o HelloWorld.bin HelloWorld
I have put lejoslink.bat in the Command box and -o $BaseName&.bin $Basename in the Parameters box but it doesn't work. How do I concatenate $BaseName with .bin ?
Posted: Fri Jan 27, 2006 8:13 am
by ben_josephs
Er... $BaseName.bin .
Obvious
Posted: Fri Jan 27, 2006 9:44 am
by colin
I hadn't tried the obvious
Thanks