Wednesday, June 10, 2009

Fantom USB Driver



Assuming that you have lejos installed, can download with bluetooth, compile, etc - that you have classpath set and whatnot: 

1: download fantom driver here (fantom_driver_0.7.zip)   [http://koyuru.com/lego/]
2: copy libjfantom.jnilib from the zip to your lejos_nxj/bin 
3: in that same /bin folder, make (or edit) nxj.properties and add the line 
Code:
NXTCommUSB=lejos.pc.comm.NXTCommFantom

Please take care to ensure that there are no extra spaces around any of the above, no space after the "=" or at the end of the line... 

You should be able to use the usb connection for flashing the brick, browsing stuff, uploading programs, and whatever else. 

Take a look at this thread first if you run in to problems: 
http://lejos.sourceforge.net/forum/viewtopic.php?t=1186&start=0