Color/Light Sensor Lejos

We are busy implementing small scenarios/concepts for students of ROILA so that they can interact with Mindstorm NXT robots while talking in ROILA. One of them is a simple shooting game, where we wanted to get the color sensor to work. However the “new” color sensor in Mindstorms NXT 2.0 does not work with lejos NXJ 0.8 and neither with some versions of 0.85. Please use the following classes.jar file to make your sensor work, courtesy of the lejos team. Remember to replace your old version of the jar file in two places: lib folder in the projects folder and lib folder where you installed lejos. A simple replace worked for us and we did not have to rebuild any code. But, remember to download your java program on the NXT again.

Tags: , ,

  1. ezcontrol’s avatar

    Thanks so much. I’ve tried many many times without success until I saw this valueable post with the download link. it worked.

Reply

Your email address will not be published. Required fields are marked *