Thursday, March 13, 2014

Programming with leJOS Instructions

Instructions for Creating a Bootable SD Card:  (Download sd.img and Oracles embedded java runtime environment)

https://drive.google.com/file/d/0B9PGYACAb1cWLURhRElsanFqT28/edit?usp=sharing




Instructions for setting up your environment in eclipse and creating your first LeJOS program. (Use build.xml to compile, link libraries and copy jar file to EV3)
https://drive.google.com/file/d/0B9PGYACAb1cWWHFGUE5nVjAwTGs/edit?usp=sharing

Note: I had to connect to Bluetooth in order to transfer files.  It did not work just connecting EV3 to PC with usb cable.  I kept getting the error message: ConnectionException: timeout when it tried to download the executable to the EV3.

Sample leJOS files
http://sourceforge.net/p/lejos/ev3/ci/master/tree/

The EV3 API link is broken.  The only thing different with EV3 and NXT API is how the Senors and Motors are created:

Sensors: http://sourceforge.net/p/lejos/wiki/Sensor%20Framework/
Motors: http://sourceforge.net/p/lejos/wiki/Motors/

NXT API:  http://www.lejos.org/nxt/nxj/api/index.html
NXT Tutorial: http://www.lejos.org/nxt/nxj/tutorial/index.htm

SOURCE:
LEJOS: http://www.lejos.org/


No comments:

Post a Comment